This commit is contained in:
Zeva Rose 2022-05-04 23:16:02 -06:00
parent 1e85465667
commit 2f436d3651

View file

@ -343,7 +343,7 @@ class Jarvis(Client):
for role in after.roles:
if role not in before.roles:
reason = "N/A"
if entry := find(lambda x: x.new_value == role.id, auditlog.entires):
if entry := find(lambda x: x.new_value == role.id, auditlog.entries):
reason = entry.reason
new_roles[role] = reason