We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 589191c + a552ba5 commit 4f14c4bCopy full SHA for 4f14c4b
src/lambda/authEndPoint.js
@@ -3,7 +3,7 @@
3
4
import fetch from 'node-fetch';
5
export async function handler(event, context) {
6
- if (!context.clientContext && !context.clientContext.identity) {
+ if (!context.clientContext || !context.clientContext.identity) {
7
return {
8
statusCode: 500,
9
body: JSON.stringify({
0 commit comments