update org member removed so it shows the user performing the remove operation as well as the user being removed

This commit is contained in:
Grant Limberg
2023-08-31 15:32:12 -07:00
parent 9cb1bf5aa8
commit e270716ff3
+6 -3
View File
@@ -302,9 +302,12 @@ type OrgInviteRejected struct {
type OrgMemberRemoved struct {
HookBase
// UserID is the user ID removed from the organization
// UserID is the user performing the remove operation
UserID string `json:"user_id"`
// UserEmail is the email address of the user removed from the organization
UserEmail string `json:"user_email"`
// RemovedUserID is the ID of the user removed from the org
RemovedUserID string `json:"removed_user_id"`
// RemovedUserEmail is the email address of the user removed from the organization
RemovedUserEmail string `json:"removed_user_email"`
}