From cb3b63d08394413b806435eb6c7bf3e01d50452a Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 20 Dec 2023 11:21:05 -0800 Subject: [PATCH] Include DELETE as well --- packages/nodes-base/nodes/Asana/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Asana/GenericFunctions.ts b/packages/nodes-base/nodes/Asana/GenericFunctions.ts index 3ac2a9d51b373..106ede80c434a 100644 --- a/packages/nodes-base/nodes/Asana/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Asana/GenericFunctions.ts @@ -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,