diff --git a/src/rest/runMethod.ts b/src/rest/runMethod.ts index 33883f4a1..e20e9efbd 100644 --- a/src/rest/runMethod.ts +++ b/src/rest/runMethod.ts @@ -25,7 +25,8 @@ export async function runMethod( const result = await fetch(url, { body: JSON.stringify(body || {}), headers: { - authorization: rest.secretKey, + "Authorization": rest.secretKey, + "Content-Type": "application/json" }, method: method.toUpperCase(), }).catch((error) => {