Skip to content

Commit

Permalink
Include DELETE as well
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongut committed Dec 20, 2023
1 parent 12e124d commit cb3b63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Asana/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function asanaApiRequest(
const options: IHttpRequestOptions = {
headers: {},
method,
body: method === 'GET' || method === 'HEAD' ? null : { data: body },
body: method === 'GET' || method === 'HEAD' || method === 'DELETE' ? null : { data: body },
qs: query,
url: uri || `https://app.asana.com/api/1.0${endpoint}`,
json: true,
Expand Down

0 comments on commit cb3b63d

Please sign in to comment.