mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
fix(MongoDB Node): Fix typo in variable name (no-changelog) (#11791)
This commit is contained in:
parent
fbd1ecfb29
commit
bc0d51eed5
|
@ -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) {
|
||||
|
@ -122,7 +122,7 @@ export function prepareItems(
|
|||
return updateItem;
|
||||
});
|
||||
|
||||
return preperedItems;
|
||||
return preparedItems;
|
||||
}
|
||||
|
||||
export function prepareFields(fields: string) {
|
||||
|
|
Loading…
Reference in a new issue