about summary refs log tree commit diff
path: root/gn_auth/auth/authorisation/resources/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/resources/views.py')
-rw-r--r--gn_auth/auth/authorisation/resources/views.py2
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):