From af2407e8cdeaee721e14c6a64a0b1ae0f5b107a8 Mon Sep 17 00:00:00 2001 From: jvcalderon Date: Thu, 28 Mar 2024 12:04:27 +0100 Subject: [PATCH] Lint --- packages/worker/src/api/controllers/global/users.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/worker/src/api/controllers/global/users.ts b/packages/worker/src/api/controllers/global/users.ts index 4e59873e33..93f35b4c37 100644 --- a/packages/worker/src/api/controllers/global/users.ts +++ b/packages/worker/src/api/controllers/global/users.ts @@ -59,7 +59,9 @@ export const addSsoSupport = async (ctx: Ctx) => { const { email, ssoId } = ctx.request.body try { // Status is changed to 404 from getUserDoc if user is not found - let userByEmail = (await platform.users.getUserDoc(email)) as PlatformUserByEmail + let userByEmail = (await platform.users.getUserDoc( + email + )) as PlatformUserByEmail await platform.users.addSsoUser( ssoId, email,