mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
fix(PostBin Node): Fix issue with it throwing unnecessary error (#3494)
This commit is contained in:
parent
04f0bf5b65
commit
9df3e30d36
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue