Move callbacks to the default switch blocks...
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 28m24s
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 28m24s
This commit is contained in:
parent
beea84a6e9
commit
af0e2919f4
@ -27,9 +27,10 @@ export const handler = async (event: APIGatewayEvent, _context: Context) => {
|
|||||||
case '/oauth/microsoft/callback':
|
case '/oauth/microsoft/callback':
|
||||||
return await callback(event)
|
return await callback(event)
|
||||||
default:
|
default:
|
||||||
return {
|
return await callback(event)
|
||||||
|
/*return {
|
||||||
statusCode: 404,
|
statusCode: 404,
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,9 +25,10 @@ export const handler = async (event: APIGatewayEvent, _context: Context) => {
|
|||||||
case '/oauthStart/microsoft':
|
case '/oauthStart/microsoft':
|
||||||
return await callback()
|
return await callback()
|
||||||
default:
|
default:
|
||||||
return {
|
return await callback()
|
||||||
|
/* return {
|
||||||
statusCode: 404,
|
statusCode: 404,
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user