Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvanderveen committed Oct 9, 2024
1 parent 05372dc commit eadb45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/user/user_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def update(

# important to prevent root admins from shooting themselves in the foot
if (
user_update.role is not Empty
user_update.role is not Empty # type: ignore
and user.verify_key == context.server.verify_key
):
raise SyftException(public_message="Cannot update root role")
Expand Down

0 comments on commit eadb45e

Please sign in to comment.