We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 589191c commit a552ba5Copy full SHA for a552ba5
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