From e9bd518592bd5f19900c5e7701f9c45c145a1552 Mon Sep 17 00:00:00 2001 From: MedAliMarz Date: Tue, 2 Mar 2021 12:47:53 +0100 Subject: [PATCH] :bug: Fix Gmail label filters (#1499) * Change array format in the qs stringify options * Fix lint --- packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts index 8cc738cf8e..29490df7a0 100644 --- a/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Google/Gmail/GenericFunctions.ts @@ -41,6 +41,9 @@ export async function googleApiRequest(this: IExecuteFunctions | IExecuteSingleF body, qs, uri: uri || `https://www.googleapis.com${endpoint}`, + qsStringifyOptions:{ + arrayFormat: 'repeat', + }, json: true, };