fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -959,7 +959,7 @@ export class Hubspot implements INodeType {
|
||||
`/contacts/v1/lists/${listId}/add`,
|
||||
body,
|
||||
);
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as INodeExecutionData);
|
||||
}
|
||||
//https://legacydocs.hubspot.com/docs/methods/lists/remove_contact_from_list
|
||||
if (operation === 'remove') {
|
||||
@@ -975,7 +975,7 @@ export class Hubspot implements INodeType {
|
||||
`/contacts/v1/lists/${listId}/remove`,
|
||||
body,
|
||||
);
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as INodeExecutionData);
|
||||
}
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
@@ -2720,7 +2720,7 @@ export class Hubspot 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