Skip to content

Commit

Permalink
Quick annotation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Oct 9, 2024
1 parent 7f990dd commit 1e2850f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/iam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def is_admin(self) -> bool:

# The following property exist solely for compatibilty between the User model and the DRF permission class IsAdminUser
@property
def is_staff(self):
def is_staff(self) -> bool:
return self.is_admin()

@property
Expand Down

0 comments on commit 1e2850f

Please sign in to comment.