From b48c6dcfa53795e093f9e6bdcc8ef7c41a1ceb01 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 11 Jun 2025 03:52:38 -0500 Subject: Fix code issues caught by the linter. --- gn_auth/auth/authorisation/resources/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation/resources/checks.py') diff --git a/gn_auth/auth/authorisation/resources/checks.py b/gn_auth/auth/authorisation/resources/checks.py index ca45a20..5484dbf 100644 --- a/gn_auth/auth/authorisation/resources/checks.py +++ b/gn_auth/auth/authorisation/resources/checks.py @@ -71,7 +71,7 @@ def authorised_for2( "INNER JOIN role_privileges ON roles.role_id=role_privileges.role_id " "INNER JOIN privileges " "ON role_privileges.privilege_id=privileges.privilege_id " - f"WHERE resources.resource_id=? " + "WHERE resources.resource_id=? " "AND user_roles.user_id=?") cursor.execute( _query, -- cgit v1.2.3