From 4e06a4dda6967cbf2306aeede2c8bc3f60e75e4a Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Thu, 28 Sep 2023 17:19:42 -0700 Subject: [PATCH] fix(signup): authorization is lowercase --- signup/functions/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signup/functions/query.ts b/signup/functions/query.ts index 8a71cd2..659f0b8 100644 --- a/signup/functions/query.ts +++ b/signup/functions/query.ts @@ -17,7 +17,7 @@ export async function handler(event: HandlerEvent) { if ( CONFIG.AUTHORIZATION_PASS && - event.headers['Authorization'] !== CONFIG.AUTHORIZATION_PASS + event.headers.authorization !== CONFIG.AUTHORIZATION_PASS ) { return { statusCode: 401