mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Revert "Scheduled weekly dependency update for week 16"
This commit is contained in:
@@ -157,8 +157,7 @@ def update_template(service_id, template_id):
|
||||
raise InvalidRequest(errors, status_code=400)
|
||||
|
||||
update_dict = template_schema.load(updated_template).data
|
||||
if update_dict.archived:
|
||||
update_dict.folder = None
|
||||
|
||||
dao_update_template(update_dict)
|
||||
return jsonify(data=template_schema.dump(update_dict).data), 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user