Revert "Scheduled weekly dependency update for week 16"

This commit is contained in:
Rebecca Law
2021-04-28 10:17:16 +01:00
committed by GitHub
parent 10b0554784
commit 85895a9e8b
14 changed files with 62 additions and 57 deletions

View File

@@ -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