dont auto accept user into an org when creating platform org (#20125)

This commit is contained in:
Rajiv Sahal
2025-03-18 16:12:26 +00:00
committed by GitHub
parent 07c38f1f33
commit 37e56ebbf9
@@ -204,7 +204,7 @@ export const createHandler = async ({ input, ctx }: CreateOptions) => {
}
}
const autoAcceptEmail = orgOwnerEmail.split("@")[1];
const autoAcceptEmail = isPlatform ? "UNUSED_FOR_PLATFORM" : orgOwnerEmail.split("@")[1];
const orgData = {
name,