aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-11 03:56:19 -0500
committerFrederick Muriuki Muriithi2025-06-11 03:56:19 -0500
commit293b8f2512367197897a95dd95e03e5af03719a4 (patch)
tree773a23e8c8f84c4d4e88ca915e462dfdc93c23ab
parentb48c6dcfa53795e093f9e6bdcc8ef7c41a1ceb01 (diff)
downloadgn-auth-293b8f2512367197897a95dd95e03e5af03719a4.tar.gz
Fix code issue caught by type-checker.
-rw-r--r--gn_auth/auth/authorisation/resources/groups/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/groups/models.py b/gn_auth/auth/authorisation/resources/groups/models.py
index 819cae8..2df5f04 100644
--- a/gn_auth/auth/authorisation/resources/groups/models.py
+++ b/gn_auth/auth/authorisation/resources/groups/models.py
@@ -523,7 +523,7 @@ def admin_group(conn: db.DbConnection) -> Either:
cursor.fetchone())
-def group_resource(conn: db.DbConnection, group_id: UUID) -> Group:
+def group_resource(conn: db.DbConnection, group_id: UUID) -> Resource:
"""Retrieve the system resource."""
with db.cursor(conn) as cursor:
cursor.execute(