mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
refactor(core): fix for no-uncaught-json-parse warnings
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
IWebhookResponseData,
|
||||
jsonParse,
|
||||
NodeApiError,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
@@ -514,7 +515,8 @@ export class SurveyMonkeyTrigger implements INodeType {
|
||||
return {};
|
||||
}
|
||||
|
||||
let responseData = JSON.parse(data.join(''));
|
||||
// tslint:disable-next-line:no-any
|
||||
let responseData = jsonParse<any>(data.join(''));
|
||||
let endpoint = '';
|
||||
|
||||
let returnItem: INodeExecutionData[] = [
|
||||
|
||||
Reference in New Issue
Block a user