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 5b6c1426..0bec85f4 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -1145,12 +1145,12 @@ def get_phenotype(name): ) -@app.route("/genotype/<name>", methods=('GET',)) +@app.route("/genotypes/<name>", methods=('GET',)) def get_genotype(name): metadata = requests.get( urljoin( GN3_LOCAL_URL, - f"/api/metadata/genotype/{name}") + f"/api/metadata/genotypes/{name}") ).json() return render_template( "genotype.html", |