From ce3568ce8e33a7ad1e722d42261913b5649df27f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 11 Aug 2023 11:33:11 +0300 Subject: Auto-approve Publication Metadata Edit for phenotypes. Mark all Publication metadata edits as automatically approved. --- wqflask/wqflask/metadata_edits.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wqflask') 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 here", "success") if v is not None }, new=publication_, - ) + ), + "status": "approved" } ) if diff_data: -- cgit v1.2.3