Lint
This commit is contained in:
parent
b77106480e
commit
af2407e8cd
|
@ -59,7 +59,9 @@ export const addSsoSupport = async (ctx: Ctx<AddSSoUserRequest>) => {
|
||||||
const { email, ssoId } = ctx.request.body
|
const { email, ssoId } = ctx.request.body
|
||||||
try {
|
try {
|
||||||
// Status is changed to 404 from getUserDoc if user is not found
|
// 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(
|
await platform.users.addSsoUser(
|
||||||
ssoId,
|
ssoId,
|
||||||
email,
|
email,
|
||||||
|
|
Loading…
Reference in New Issue