mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Postgres Node): Falsy query parameters ignored (#10960)
This commit is contained in:
@@ -80,7 +80,7 @@ export async function execute(
|
||||
const rawReplacements = (node.parameters.options as IDataObject)?.queryReplacement as string;
|
||||
|
||||
const stringToArray = (str: NodeParameterValueType | undefined) => {
|
||||
if (!str) return [];
|
||||
if (str === undefined) return [];
|
||||
return String(str)
|
||||
.split(',')
|
||||
.filter((entry) => entry)
|
||||
|
||||
Reference in New Issue
Block a user