From 37456060798ec087bcde92e8f048d9db74937b09 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 29 Jul 2025 14:42:10 -0500 Subject: Fix issues caught by the type-checker. --- gn_auth/auth/authorisation/resources/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation/resources/views.py') 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): -- cgit 1.4.1