diff --git a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts index b1da017730..b5ad6843c4 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts @@ -248,7 +248,6 @@ export class MicrosoftSql implements INodeType { const pool = configurePool(credentials); await pool.connect(); - const returnItems: INodeExecutionData[] = []; let responseData: IDataObject | IDataObject[] = []; const items = this.getInputData(); @@ -327,12 +326,11 @@ export class MicrosoftSql implements INodeType { const itemData = generatePairedItemData(items.length); - const executionData = this.helpers.constructExecutionMetaData( + const returnItems = this.helpers.constructExecutionMetaData( this.helpers.returnJsonArray(responseData), { itemData }, ); - returnItems.push(...executionData); return [returnItems]; } }