Skip to content

Commit

Permalink
fix(PostBin Node): Fix issue with it throwing unnecessary error (#3494)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic authored Jun 12, 2022
1 parent 04f0bf5 commit 9df3e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/PostBin/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9df3e30

Please sign in to comment.