From 293b8f2512367197897a95dd95e03e5af03719a4 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 11 Jun 2025 03:56:19 -0500 Subject: Fix code issue caught by type-checker. --- gn_auth/auth/authorisation/resources/groups/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation/resources/groups/models.py') 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( -- cgit v1.2.3