any option to have $post ignore json when we provide body via init: {body.. ?

const resp = await client.api.scheduling.scheduleExecution.$post(
{json: execution}, // this is not used
{init:{body: jsonAsString}}
);
const resp = await client.api.scheduling.scheduleExecution.$post(
{json: execution}, // this is not used
{init:{body: jsonAsString}}
);
technically {json: execution} is pointless since I provide the body content manually via {init:{body: jsonAsString}} anyway to make hono ignore the json when providing body this way ?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server