From 9df3e30d36104d8e31972c773cb71f4cc82f6970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milorad=20FIlipovi=C4=87?= Date: Sun, 12 Jun 2022 15:12:54 +0200 Subject: [PATCH] fix(PostBin Node): Fix issue with it throwing unnecessary error (#3494) --- packages/nodes-base/nodes/PostBin/GenericFunctions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nodes-base/nodes/PostBin/GenericFunctions.ts b/packages/nodes-base/nodes/PostBin/GenericFunctions.ts index 3a07ae776872f..9bfe65e0f7213 100644 --- a/packages/nodes-base/nodes/PostBin/GenericFunctions.ts +++ b/packages/nodes-base/nodes/PostBin/GenericFunctions.ts @@ -76,6 +76,7 @@ export async function buildRequestURL(this: IExecuteSingleFunctions, requestOpti function parseBinId(context: IExecuteSingleFunctions) { const binId = context.getNodeParameter('binId') as string; // Test if the Bin id is in the expected format + BIN_ID_REGEX.lastIndex = 0; const idMatch = BIN_ID_REGEX.exec(binId); // Return what is matched