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:
@@ -121,7 +121,7 @@ export class PostHog implements INodeType {
|
||||
|
||||
responseData = await posthogApiRequest.call(this, 'POST', '/batch', event);
|
||||
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
@@ -173,7 +173,7 @@ export class PostHog implements INodeType {
|
||||
|
||||
responseData = await posthogApiRequest.call(this, 'POST', '/capture', { batch: events });
|
||||
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
@@ -217,7 +217,7 @@ export class PostHog implements INodeType {
|
||||
|
||||
responseData = await posthogApiRequest.call(this, 'POST', '/batch', event);
|
||||
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
@@ -273,7 +273,7 @@ export class PostHog implements INodeType {
|
||||
|
||||
responseData = await posthogApiRequest.call(this, 'POST', '/batch', event);
|
||||
|
||||
returnData.push(responseData);
|
||||
returnData.push(responseData as IDataObject);
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
returnData.push({ error: error.message });
|
||||
|
||||
Reference in New Issue
Block a user