Skip to content

Commit

Permalink
fixup!: Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rgraber authored Dec 2, 2024
1 parent 70f195f commit 2d350fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kobo/apps/audit_log/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ def handle_anonymous_user_permissions(
# remove each permission as it is logged so we can see if there
# are any unusual ones left over
for combination, action in ANONYMOUS_USER_PERMISSION_ACTIONS.items():
# ANONYMOUS_USER_PERMIISSION_ACTIONS has tuples as keys
# ANONYMOUS_USER_PERMISSION_ACTIONS has tuples as keys
permission, was_added = combination
list_to_update = perms_added if was_added else perms_removed
if permission in list_to_update:
Expand Down

0 comments on commit 2d350fc

Please sign in to comment.