aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/collect.py2
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"))