diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 76e3184d..28606c8b 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -274,6 +274,7 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success") data=Phenotype(**phenotype_), where=Phenotype(id_=data_.get("phenotype-id")), ) + conn.commit() diff_data = {} if updated_phenotypes: diff_data.update( @@ -322,6 +323,7 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success") data=Publication(**publication_), where=Publication(id_=data_.get("old_id_")), ) + conn.commit() if updated_publications: diff_data.update( |