Skip to content

Commit

Permalink
fix(MongoDB Node): Fix typo in variable name (no-changelog) (#11791)
Browse files Browse the repository at this point in the history
  • Loading branch information
my-opencode authored Nov 22, 2024
1 parent fbd1ecf commit bc0d51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nodes-base/nodes/MongoDb/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function prepareItems(
data = items.filter((item) => item.json[updateKey] !== undefined);
}

const preperedItems = data.map(({ json }) => {
const preparedItems = data.map(({ json }) => {
const updateItem: IDataObject = {};

for (const field of fields) {
Expand All @@ -122,7 +122,7 @@ export function prepareItems(
return updateItem;
});

return preperedItems;
return preparedItems;
}

export function prepareFields(fields: string) {
Expand Down

0 comments on commit bc0d51e

Please sign in to comment.