From e270716ff3fbc622b66c53bf790e24526efa5150 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 31 Aug 2023 15:32:12 -0700 Subject: [PATCH] update org member removed so it shows the user performing the remove operation as well as the user being removed --- types.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/types.go b/types.go index 32bd9f0..2e191a4 100644 --- a/types.go +++ b/types.go @@ -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"` }