diff options
author | Frederick Muriuki Muriithi | 2025-07-29 14:42:10 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-29 14:42:10 -0500 |
commit | 37456060798ec087bcde92e8f048d9db74937b09 (patch) | |
tree | 90ec536ffa2ee03288d66686011807b2e93b2f40 /gn_auth/auth/authorisation/resources/views.py | |
parent | 94d211e354e7be675857e3aacd1734f3164a371e (diff) | |
download | gn-auth-37456060798ec087bcde92e8f048d9db74937b09.tar.gz |
Fix issues caught by the type-checker.
Diffstat (limited to 'gn_auth/auth/authorisation/resources/views.py')
-rw-r--r-- | gn_auth/auth/authorisation/resources/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/views.py b/gn_auth/auth/authorisation/resources/views.py index c4774dc..f39cc59 100644 --- a/gn_auth/auth/authorisation/resources/views.py +++ b/gn_auth/auth/authorisation/resources/views.py @@ -678,7 +678,7 @@ def user_resource_roles(resource_id: UUID, user_id: UUID): @resources.route("/delete", methods=["POST"]) @require_oauth("profile group resource") -def delete_resource() -> Response: +def delete_resource(): """Delete the specified resource, if possible.""" with (require_oauth.acquire("profile group resource") as the_token, db.connection(app.config["AUTH_DB"]) as conn): |