mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 13:05:08 +02:00
QFix: Allow mail service to ensure person (#8140)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -1713,7 +1713,7 @@ export async function ensurePerson (
|
||||
}
|
||||
): Promise<{ uuid: PersonUuid, socialId: PersonId }> {
|
||||
const { extra } = decodeTokenVerbose(ctx, token)
|
||||
verifyAllowedServices(['schedule'], extra)
|
||||
verifyAllowedServices(['schedule', 'mail'], extra)
|
||||
|
||||
const { socialType, socialValue, firstName, lastName } = params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user