mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Missing pairing info (#7326)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
} from './GenericFunctions';
|
||||
|
||||
import type { IMongoParametricCredentials } from './mongoDb.types';
|
||||
import { generatePairedItemData } from '../../utils/utilities';
|
||||
|
||||
export class MongoDb implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -365,9 +366,11 @@ export class MongoDb implements INodeType {
|
||||
|
||||
stringifyObjectIDs(responseData);
|
||||
|
||||
const itemData = generatePairedItemData(items.length);
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
{ itemData: { item: 0 } },
|
||||
{ itemData },
|
||||
);
|
||||
|
||||
returnItems.push(...executionData);
|
||||
|
||||
Reference in New Issue
Block a user