about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn_auth/auth/authorisation/users/admin/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/admin/models.py b/gn_auth/auth/authorisation/users/admin/models.py
index 3543dac..3d68932 100644
--- a/gn_auth/auth/authorisation/users/admin/models.py
+++ b/gn_auth/auth/authorisation/users/admin/models.py
@@ -48,7 +48,7 @@ def make_sys_admin(cursor: db.DbCursor, user: User) -> User:
     return grant_sysadmin_role(cursor, user)
 
 
-def revoke_sysadmin_role(conn: db.DbConnection, user: User) -> User:
+def revoke_sysadmin_role(conn: db.DbConnection, user: User):
     """Revoke `system-administrator` role from `user`."""
     with db.cursor(conn) as cursor:
         cursor.execute("DELETE FROM user_roles WHERE user_id=? AND role_id=?",