feat(cli): add external hooks for when members are added or deleted (#3988)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-09-05 09:03:05 +02:00
committed by GitHub
parent fc6484ba4d
commit 6be999714f
3 changed files with 13 additions and 2 deletions

View File

@@ -98,7 +98,11 @@ export async function initTestServer({
if (!endpointGroups) return testServer.app;
if (endpointGroups.includes('credentials') || endpointGroups.includes('me')) {
if (
endpointGroups.includes('credentials') ||
endpointGroups.includes('me') ||
endpointGroups.includes('users')
) {
testServer.externalHooks = ExternalHooks();
}