From 53226bb118504d666e181afc164d57d12a426dfd Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 31 Oct 2019 10:50:18 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20`member.deleted`=20webhook?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit requires https://github.com/TryGhost/Ghost/pull/11307 - the empty payload bug has been fixed in Ghost so the webhook is usable now --- app/helpers/event-name.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/helpers/event-name.js b/app/helpers/event-name.js index 239d79f54..b90dd01b4 100644 --- a/app/helpers/event-name.js +++ b/app/helpers/event-name.js @@ -30,9 +30,8 @@ export const AVAILABLE_EVENTS = [ {event: 'tag.deleted', name: 'Tag deleted', group: 'Tags'}, // GROUPNAME: Members - {event: 'member.added', name: 'Member added', group: 'Members'} - // TODO: enable once server-side payload is fixed - // {event: 'member.deleted', name: 'Member deleted', group: 'Members'} + {event: 'member.added', name: 'Member added', group: 'Members'}, + {event: 'member.deleted', name: 'Member deleted', group: 'Members'} ]; export function eventName([event]/*, hash*/) {