aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/roles
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-17 14:25:47 -0500
committerFrederick Muriuki Muriithi2024-06-17 14:25:47 -0500
commit4b0eed1a90a200a4283778b10d116f4f76ad9455 (patch)
tree87025b94c31a50fed3ff7ae83aa26dcdd9407257 /gn_auth/auth/authorisation/roles
parent1776582ab9d44758793cab70978b353c00be51bc (diff)
downloadgn-auth-4b0eed1a90a200a4283778b10d116f4f76ad9455.tar.gz
Fix linting errors.
Diffstat (limited to 'gn_auth/auth/authorisation/roles')
-rw-r--r--gn_auth/auth/authorisation/roles/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/roles/models.py b/gn_auth/auth/authorisation/roles/models.py
index d58c4a1..f0e9745 100644
--- a/gn_auth/auth/authorisation/roles/models.py
+++ b/gn_auth/auth/authorisation/roles/models.py
@@ -247,7 +247,7 @@ def role_by_id(conn: db.DbConnection, role_id: UUID) -> Optional[Role]:
def delete_privilege_from_resource_role(
cursor: db.DbCursor,
role: Role,
- privilege_id: str
+ privilege: Privilege
):
"""Delete a privilege from a resource role."""
cursor.execute(