aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-08-11 11:33:11 +0300
committerFrederick Muriuki Muriithi2023-08-11 11:33:11 +0300
commitce3568ce8e33a7ad1e722d42261913b5649df27f (patch)
tree5df59d35c1d0bdeca4c680f62c5bc97d20f537b9
parentd193cec7a8985a029b5cefea88cf76d3fe1cdc35 (diff)
downloadgenenetwork2-ce3568ce8e33a7ad1e722d42261913b5649df27f.tar.gz
Auto-approve Publication Metadata Edit for phenotypes.
Mark all Publication metadata edits as automatically approved.
-rw-r--r--wqflask/wqflask/metadata_edits.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 585ddbb3..7bb2fe45 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -340,7 +340,8 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success")
if v is not None
},
new=publication_,
- )
+ ),
+ "status": "approved"
}
)
if diff_data: