diff options
author | Frederick Muriuki Muriithi | 2023-12-05 17:14:26 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-12-05 17:14:26 +0300 |
commit | 92a913f2e86bb863b2b90a9c1522469b386f17e9 (patch) | |
tree | 6c7c1da57eaf7a46a7e1a4225acce332f1e54b22 | |
parent | 4f4f75fbdbc77dd9b3c87a8a290e2c5a57b57b6a (diff) | |
download | genenetwork2-92a913f2e86bb863b2b90a9c1522469b386f17e9.tar.gz |
Send the GN3 API server URI as configured for GN2
-rw-r--r-- | wqflask/wqflask/oauth2/data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/oauth2/data.py b/wqflask/wqflask/oauth2/data.py index a1641f37..2e05bcd5 100644 --- a/wqflask/wqflask/oauth2/data.py +++ b/wqflask/wqflask/oauth2/data.py @@ -61,7 +61,7 @@ def __search_genotypes__(query, template, **kwargs): return render_ui(template, search_uri=search_uri, **datasets, **kwargs) def __search_phenotypes__(query, template, **kwargs): - from utility.tools import AUTH_SERVER_URL + from utility.tools import GN_SERVER_URL, AUTH_SERVER_URL page = int(request.args.get("page", 1)) per_page = int(request.args.get("per_page", 50)) selected_traits = request.form.getlist("selected_traits") @@ -82,7 +82,7 @@ def __search_phenotypes__(query, template, **kwargs): "species_name": kwargs["species_name"], "per_page": per_page, "page": page, - "auth_server_uri": AUTH_SERVER_URL + "gn3_server_uri": GN_SERVER_URL }).either( with_flash_error(redirect(url_for('oauth2.data.list_data'))), __search_success__) |