From a9b809be9e81dd46782d7becb0261b0855ae01a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 19 Nov 2021 18:17:05 +0100 Subject: [PATCH] :bug: Fix Xero pagination (#2396) --- packages/nodes-base/nodes/Xero/GenericFunctions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/nodes-base/nodes/Xero/GenericFunctions.ts b/packages/nodes-base/nodes/Xero/GenericFunctions.ts index 1ee4b040b9..79a20f32ad 100644 --- a/packages/nodes-base/nodes/Xero/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Xero/GenericFunctions.ts @@ -26,7 +26,6 @@ export async function xeroApiRequest(this: IExecuteFunctions | IExecuteSingleFun try { if (body.organizationId) { options.headers = { ...options.headers, 'Xero-tenant-id': body.organizationId }; - delete body.organizationId; } if (Object.keys(headers).length !== 0) { options.headers = Object.assign({}, options.headers, headers);