diff options
author | zsloan | 2024-07-31 20:50:53 +0000 |
---|---|---|
committer | zsloan | 2024-07-31 20:51:38 +0000 |
commit | 6635b09700a647f05bd619e4ef93e99622183448 (patch) | |
tree | cf8a9dee2e574fdfe0c08a0f55284c618ea4bc49 /gn2 | |
parent | 6cb592ac79f87c5357c3da1fd8da05b355d9b6f9 (diff) | |
download | genenetwork2-6635b09700a647f05bd619e4ef93e99622183448.tar.gz |
Fix collections import by allowing GET method for collections/add endpoint
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/collect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/collect.py b/gn2/wqflask/collect.py index 9e0640a5..dd561a78 100644 --- a/gn2/wqflask/collect.py +++ b/gn2/wqflask/collect.py @@ -72,7 +72,7 @@ def store_traits_list(): return hash -@app.route("/collections/add", methods=["POST"]) +@app.route("/collections/add", methods=('GET', 'POST')) def collections_add(): anon_id = session_info()["anon_id"] traits = request.args.get("traits", request.form.get("traits")) |