diff --git a/src/index.ts b/src/index.ts index b6819be..f54afcd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) {