mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -149,7 +149,7 @@ export async function apiRequest(
|
||||
): Promise<any> {
|
||||
const credentials = await this.getCredentials('telegramApi');
|
||||
|
||||
query = query || {};
|
||||
query = query ?? {};
|
||||
|
||||
const options: OptionsWithUri = {
|
||||
headers: {},
|
||||
|
||||
@@ -1977,7 +1977,7 @@ export class Telegram implements INodeType {
|
||||
);
|
||||
}
|
||||
|
||||
body.disable_notification = body.disable_notification?.toString() || 'false';
|
||||
body.disable_notification = body.disable_notification?.toString() ?? 'false';
|
||||
|
||||
const formData = {
|
||||
...body,
|
||||
|
||||
Reference in New Issue
Block a user