mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -217,7 +217,7 @@ export class HelpScout implements INodeType {
|
||||
const id = responseData.headers['resource-id'];
|
||||
const uri = responseData.headers.location;
|
||||
if (resolveData) {
|
||||
responseData = await helpscoutApiRequest.call(this, 'GET', '', {}, {}, uri);
|
||||
responseData = await helpscoutApiRequest.call(this, 'GET', '', {}, {}, uri as string);
|
||||
} else {
|
||||
responseData = {
|
||||
id,
|
||||
@@ -335,7 +335,7 @@ export class HelpScout implements INodeType {
|
||||
const id = responseData.headers['resource-id'];
|
||||
const uri = responseData.headers.location;
|
||||
if (resolveData) {
|
||||
responseData = await helpscoutApiRequest.call(this, 'GET', '', {}, {}, uri);
|
||||
responseData = await helpscoutApiRequest.call(this, 'GET', '', {}, {}, uri as string);
|
||||
} else {
|
||||
responseData = {
|
||||
id,
|
||||
@@ -573,7 +573,7 @@ export class HelpScout implements INodeType {
|
||||
}
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(responseData),
|
||||
this.helpers.returnJsonArray(responseData as IDataObject[]),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user