From 4b0eed1a90a200a4283778b10d116f4f76ad9455 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 17 Jun 2024 14:25:47 -0500 Subject: Fix linting errors. --- gn_auth/auth/authorisation/roles/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation/roles') 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( -- cgit v1.2.3