aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/metadata_edits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 690f04c2..d232b32b 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -281,7 +281,7 @@ def update_phenotype(dataset_id: str, name: str):
f"?resource-id={request.args.get('resource-id')}")
-@metadata_edit.route("/traits/<name>", methods=["POST"])
+@metadata_edit.route("/traits/<name>", methods=("POST",))
@edit_access_required
def update_probeset(name: str):
conn = MySQLdb.Connect(db=current_app.config.get("DB_NAME"),