mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 10:28:55 -04:00
Revert "Scheduled weekly dependency update for week 16"
This commit is contained in:
@@ -43,6 +43,9 @@ def dao_create_template(template):
|
||||
VersionOptions(Template, history_class=TemplateHistory)
|
||||
)
|
||||
def dao_update_template(template):
|
||||
if template.archived:
|
||||
template.folder = None
|
||||
|
||||
db.session.add(template)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user