aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/checks.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-11 03:52:38 -0500
committerFrederick Muriuki Muriithi2025-06-11 03:52:38 -0500
commitb48c6dcfa53795e093f9e6bdcc8ef7c41a1ceb01 (patch)
tree6effdbba74fceaafbaf99920552f608ddf890deb /gn_auth/auth/authorisation/resources/checks.py
parentb78daa6ce260c87f6df9088a0e6303030c0e4ac1 (diff)
downloadgn-auth-b48c6dcfa53795e093f9e6bdcc8ef7c41a1ceb01.tar.gz
Fix code issues caught by the linter.
Diffstat (limited to 'gn_auth/auth/authorisation/resources/checks.py')
-rw-r--r--gn_auth/auth/authorisation/resources/checks.py2
1 files changed, 1 insertions, 1 deletions
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,