mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): fixes n8n-local-rules/no-json-parse-json-stringify warnings (#4407)
* 🔨 fixes * 🔨 set rule to error
This commit is contained in:
@@ -2,6 +2,7 @@ import { IExecuteFunctions } from 'n8n-core';
|
||||
import { OptionsWithUri } from 'request';
|
||||
|
||||
import {
|
||||
deepCopy,
|
||||
ICredentialsDecrypted,
|
||||
ICredentialTestFunctions,
|
||||
IDataObject,
|
||||
@@ -297,7 +298,7 @@ export class Odoo implements INodeType {
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
let items = this.getInputData();
|
||||
items = JSON.parse(JSON.stringify(items));
|
||||
items = deepCopy(items);
|
||||
const returnData: IDataObject[] = [];
|
||||
let responseData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user