From 8c4a744c56ce84984ed837583cdfd7a296de5090 Mon Sep 17 00:00:00 2001 From: feelgood-interface <78543720+feelgood-interface@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:44:06 +0100 Subject: [PATCH] fix(Trello Node): Remove GET request body (#8715) --- packages/nodes-base/nodes/Trello/GenericFunctions.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nodes-base/nodes/Trello/GenericFunctions.ts b/packages/nodes-base/nodes/Trello/GenericFunctions.ts index 18fcbee1a7..91f90be4b8 100644 --- a/packages/nodes-base/nodes/Trello/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Trello/GenericFunctions.ts @@ -28,6 +28,10 @@ export async function apiRequest( json: true, }; + if (method === 'GET') { + delete options.body; + } + return await this.helpers.requestWithAuthentication.call(this, 'trelloApi', options); }