about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2024-11-14 23:36:05 +0000
committerzsloan2024-11-14 23:36:05 +0000
commit5ea67ad983949f5093c164a7c7c0f0cc71b7434d (patch)
treeee53cea7947664d0fb3d15a8ffeae46c5f9fbaf7
parent12492bf5ceb1ed014dbab8738d5517a809396c4a (diff)
downloadgenenetwork3-5ea67ad983949f5093c164a7c7c0f0cc71b7434d.tar.gz
Fix auth endpoint for case attribute editing
-rw-r--r--gn3/case_attributes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/case_attributes.py b/gn3/case_attributes.py
index 1e74403..7dad6d0 100644
--- a/gn3/case_attributes.py
+++ b/gn3/case_attributes.py
@@ -77,7 +77,7 @@ def required_access(
             result = requests.get(
                 # this section fetches the resource ID from the auth server
                 urljoin(current_app.config["AUTH_SERVER_URL"],
-                        "auth/resource/inbredset/resource-id"
+                        "auth/resource/populations/resource-id"
                         f"/{__species_id__(conn)}/{inbredset_id}"))
             if result.status_code == 200:
                 resource_id = result.json()["resource-id"]