aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-08-11 12:16:19 +0300
committerFrederick Muriuki Muriithi2023-08-11 12:16:19 +0300
commit5bcae0a49ab95a65f3027c1f75e9e772d9aebdcb (patch)
treec58f45dc1123e1c1a92066331ba59819d53385ba
parentce3568ce8e33a7ad1e722d42261913b5649df27f (diff)
downloadgenenetwork2-5bcae0a49ab95a65f3027c1f75e9e772d9aebdcb.tar.gz
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
-rw-r--r--wqflask/wqflask/metadata_edits.py3
1 files changed, 1 insertions, 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 <a href='{url}' target='_blank'>here</a>", "success")
if v is not None
},
new=publication_,
- ),
- "status": "approved"
+ )
}
)
if diff_data: