Skip to content

Commit

Permalink
fix(signup): authorization is lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Sep 29, 2023
1 parent 6f4b3ce commit 4e06a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signup/functions/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e06a4d

Please sign in to comment.