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:
@@ -32,7 +32,7 @@ export async function segmentApiRequest(
|
||||
uri: uri || `https://api.segment.io/v1${resource}`,
|
||||
json: true,
|
||||
};
|
||||
if (!Object.keys(body).length) {
|
||||
if (!Object.keys(body as IDataObject).length) {
|
||||
delete options.body;
|
||||
}
|
||||
return this.helpers.requestWithAuthentication.call(this, 'segmentApi', options);
|
||||
|
||||
Reference in New Issue
Block a user