mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Changed response to 201 for send_letter_jobs
This commit is contained in:
@@ -17,7 +17,7 @@ def send_letter_jobs():
|
||||
job_ids = validate(request.get_json(), letter_job_ids)
|
||||
notify_celery.send_task(name="send-files-to-dvla", args=(job_ids['job_ids'],), queue="process-ftp")
|
||||
|
||||
return jsonify(data={"response": "Task created to send files to DVLA"}), 200
|
||||
return jsonify(data={"response": "Task created to send files to DVLA"}), 201
|
||||
|
||||
|
||||
@letter_job.route('/letter-jobs', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user