Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliuwk1019 committed Sep 19, 2024
1 parent b9b6395 commit 65b30cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def store_user_permissions_granted_audit_history(
self,
requester: RequesterSchema,
change_target_user: FamUser,
new_user_permission_grated_list: List[FamUserRoleAssignmentCreateRes]
new_user_permission_granted_list: List[FamUserRoleAssignmentCreateRes]
):
success_granted_list = list(filter(
lambda res: res.status_code == HTTPStatus.OK, new_user_permission_grated_list
lambda res: res.status_code == HTTPStatus.OK, new_user_permission_granted_list
))
if (len(success_granted_list) == 0):
LOGGER.debug("No success granted permission available. No audit record to store.")
Expand Down

0 comments on commit 65b30cf

Please sign in to comment.