From 5bcae0a49ab95a65f3027c1f75e9e772d9aebdcb Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 11 Aug 2023 12:16:19 +0300 Subject: Revert "Auto-approve Publication Metadata Edit for phenotypes." This reverts commit ce3568ce8e33a7ad1e722d42261913b5649df27f. It turns out we only ever save the approved commits in the database, so there is no point in adding the extra data to indicate that. This has been documented[^1] for the future. 1: https://github.com/genenetwork/gn-gemtext-threads/commit/4e016e43fd05202287730915d129daaed1a02efc --- wqflask/wqflask/metadata_edits.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 7bb2fe45..585ddbb3 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -340,8 +340,7 @@ View the diffs here", "success") if v is not None }, new=publication_, - ), - "status": "approved" + ) } ) if diff_data: -- cgit v1.2.3