Skip to content

Commit

Permalink
Change header name
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed May 9, 2024
1 parent 8594711 commit 5e02df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ app.post("/submit", auth0Middleware, async (c) => {
console.log(`Using auth header '${authorisation.slice(0, 20)}..'`);
const resp = await fetch(c.env.secureSubmitEndpoint, {
headers: {
'authorisation': authorisation,
"content-type": "application/json;charset=UTF-8",
'Authorisation': authorisation,
"Content-type": "application/json;charset=UTF-8",
},
body: data,
method: "POST"
Expand Down

0 comments on commit 5e02df1

Please sign in to comment.