File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1+ Adding some clarifying documentation around the type of :attr: `AuditLogEntry.extra ` when the action is :attr: `~AuditLogAction.overwrite_create `.
Original file line number Diff line number Diff line change @@ -861,9 +861,8 @@ AuditLogAction
861861
862862 When this is the action, the type of :attr: `~AuditLogEntry.extra ` is
863863 either a :class: `Role ` or :class: `Member `. If the object is not found
864- then it is a :class: `Object ` with an ID being filled, a name, and a
865- ``type `` attribute set to either ``'role' `` or ``'member' `` to help
866- dictate what type of ID it is.
864+ then it is a :class: `Object ` with an ID being filled, additionally if the object
865+ refers to a role then the :class: `Object ` has also a ``name `` attribute.
867866
868867 Possible attributes for :class: `AuditLogDiff `:
869868
You can’t perform that action at this time.
0 commit comments