mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Change status code to 204 when there is no content in response.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from flask import Blueprint, jsonify, request, abort, current_app
|
||||
from flask import Blueprint, jsonify, request, current_app
|
||||
from sqlalchemy.exc import IntegrityError
|
||||
from sqlalchemy.orm.exc import NoResultFound
|
||||
|
||||
@@ -145,4 +145,4 @@ def move_to_template_folder(service_id, target_template_folder_id=None):
|
||||
))
|
||||
else:
|
||||
template.folder = target_template_folder
|
||||
return '', 200
|
||||
return '', 204
|
||||
|
||||
Reference in New Issue
Block a user