From 8cf19b761c036f94e20c1ba7e214134173d9484c Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 6 Apr 2023 18:50:52 +0000 Subject: Commit updates for phenotype/publication metadata --- wqflask/wqflask/metadata_edits.py | 2 ++ 1 file changed, 2 insertions(+) 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 here", "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 here", "success") data=Publication(**publication_), where=Publication(id_=data_.get("old_id_")), ) + conn.commit() if updated_publications: diff_data.update( -- cgit v1.2.3