mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -369,7 +369,7 @@ export class CoinGecko implements INodeType {
|
||||
const marketCaps = respData.market_caps[idx][1];
|
||||
const totalVolume = respData.total_volumes[idx][1];
|
||||
responseData.push({
|
||||
time: moment(time).toISOString(),
|
||||
time: moment(time as string).toISOString(),
|
||||
price,
|
||||
marketCaps,
|
||||
totalVolume,
|
||||
@@ -397,7 +397,7 @@ export class CoinGecko implements INodeType {
|
||||
for (let idx = 0; idx < responseData.length; idx++) {
|
||||
const [time, open, high, low, close] = responseData[idx];
|
||||
responseData[idx] = {
|
||||
time: moment(time).toISOString(),
|
||||
time: moment(time as string).toISOString(),
|
||||
open,
|
||||
high,
|
||||
low,
|
||||
@@ -473,7 +473,7 @@ export class CoinGecko implements INodeType {
|
||||
}
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
returnData.push(...executionData);
|
||||
|
||||
Reference in New Issue
Block a user