From 5301d777c3d2b7c9f8272dc88424873f9805bf49 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Fri, 26 Apr 2024 13:41:31 +0700 Subject: [PATCH] Do not replace missing employee (#5475) Signed-off-by: Andrey Sobolev --- server/account/src/operations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/account/src/operations.ts b/server/account/src/operations.ts index d931aa2f80..01732e7c1d 100644 --- a/server/account/src/operations.ts +++ b/server/account/src/operations.ts @@ -1289,7 +1289,7 @@ export async function createMissingEmployee ( throw new PlatformError(new Status(Severity.ERROR, platform.status.AccountNotFound, { account: email })) } - await createPersonAccount(account, productId, wsInfo.workspaceId, true) + await createPersonAccount(account, productId, wsInfo.workspaceId, false) } /**