diff options
-rw-r--r-- | wqflask/wqflask/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 315ae938..5b6c1426 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -1132,12 +1132,12 @@ def get_publication(name): ) -@app.route("/phenotype/<name>", methods=('GET',)) +@app.route("/phenotypes/<name>", methods=('GET',)) def get_phenotype(name): metadata = requests.get( urljoin( GN3_LOCAL_URL, - f"/api/metadata/phenotype/{name}") + f"/api/metadata/phenotypes/{name}") ).json() return render_template( "phenotype.html", |