mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Allow to get person info in export (#10368)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -584,7 +584,7 @@ export async function getPersonInfo (
|
||||
): Promise<PersonInfo> {
|
||||
const { account } = params
|
||||
const { extra } = decodeTokenVerbose(ctx, token)
|
||||
verifyAllowedServices(['workspace', 'tool', 'gmail', 'huly-mail'], extra)
|
||||
verifyAllowedServices(['workspace', 'tool', 'gmail', 'huly-mail', 'export'], extra)
|
||||
|
||||
if (account == null || account === '') {
|
||||
throw new PlatformError(new Status(Severity.ERROR, platform.status.BadRequest, {}))
|
||||
|
||||
Reference in New Issue
Block a user