mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
Do not replace missing employee (#5475)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
8af5279a53
commit
5301d777c3
@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user