Skip to content

Commit

Permalink
Fix body on secure submit
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed May 9, 2024
1 parent 5e02df1 commit d5cd8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ app.post("/submit", auth0Middleware, async (c) => {
'Authorisation': authorisation,
"Content-type": "application/json;charset=UTF-8",
},
body: data,
body: JSON.stringify(data),
method: "POST"
});
if (resp.status == 200) {
Expand Down

0 comments on commit d5cd8a0

Please sign in to comment.