refactor: Fix some typos (no-changelog) (#5616)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-03 18:49:19 +01:00
committed by GitHub
parent 4e244937c9
commit 3c57062571
53 changed files with 100 additions and 99 deletions

View File

@@ -100,9 +100,9 @@ export async function simplify(this: IExecuteFunctions, contacts: IContact[], li
for (const contact of contacts) {
const extras = contact.extra.reduce(
(acumulator: IDataObject, currentValue: IDataObject): any => {
(accumulator: IDataObject, currentValue: IDataObject): any => {
const key = fieldsKeyValue[currentValue.field_id as string] as string;
return { [key]: currentValue.value, ...acumulator };
return { [key]: currentValue.value, ...accumulator };
},
{},
);