Do not replace missing employee (#5475)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-04-26 13:41:31 +07:00 committed by GitHub
parent 8af5279a53
commit 5301d777c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
}
/**