Fix typo
This commit is contained in:
parent
1e85465667
commit
2f436d3651
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class Jarvis(Client):
|
||||||
for role in after.roles:
|
for role in after.roles:
|
||||||
if role not in before.roles:
|
if role not in before.roles:
|
||||||
reason = "N/A"
|
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
|
reason = entry.reason
|
||||||
new_roles[role] = reason
|
new_roles[role] = reason
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue