diff options
author | Frederick Muriuki Muriithi | 2025-07-29 11:30:07 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-29 11:30:07 -0500 |
commit | d4fb5c646d112e3fc8d66f7f6e795946b7465919 (patch) | |
tree | 6de6545a79ab6b016c2bfe24c3c54115031fd2ee | |
parent | 924414822fed4c4a9efc8f91506a359c1072a03e (diff) | |
download | gn-auth-d4fb5c646d112e3fc8d66f7f6e795946b7465919.tar.gz |
Add new route for consistency.
-rw-r--r-- | gn_auth/auth/authorisation/resources/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_auth/auth/authorisation/resources/views.py b/gn_auth/auth/authorisation/resources/views.py index ed118cd..02d2b76 100644 --- a/gn_auth/auth/authorisation/resources/views.py +++ b/gn_auth/auth/authorisation/resources/views.py @@ -100,7 +100,9 @@ def create_resource() -> Response: f"{type(sql3ie)=}: {sql3ie=}") raise + @resources.route("/view/<uuid:resource_id>") +@resources.route("/<uuid:resource_id>/view") @require_oauth("profile group resource") def view_resource(resource_id: UUID) -> Response: """View a particular resource's details.""" |