Skip to content

Commit

Permalink
Do not replace missing employee (#5475)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo committed Apr 26, 2024
1 parent 8af5279 commit 5301d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/account/src/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

/**
Expand Down

0 comments on commit 5301d77

Please sign in to comment.