mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -13,6 +13,14 @@ import moment from 'moment';
|
||||
|
||||
import * as losslessJSON from 'lossless-json';
|
||||
|
||||
function convertLosslessNumber(key: any, value: any) {
|
||||
if (value?.isLosslessNumber) {
|
||||
return value.toString();
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Make an authenticated API request to GoToWebinar.
|
||||
*/
|
||||
@@ -275,11 +283,3 @@ export async function loadRegistranMultiChoiceQuestions(this: ILoadOptionsFuncti
|
||||
|
||||
return returnData;
|
||||
}
|
||||
|
||||
function convertLosslessNumber(key: any, value: any) {
|
||||
if (value?.isLosslessNumber) {
|
||||
return value.toString();
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user