refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-19 18:46:14 +01:00
committed by GitHub
parent 8c635993bd
commit bafac73eb5
1120 changed files with 2677 additions and 2827 deletions

View File

@@ -1,4 +1,3 @@
import { URL } from 'url';
import type {
IExecuteFunctions,
IDataObject,
@@ -8,6 +7,8 @@ import type {
IRequestOptions,
} from 'n8n-workflow';
import { NodeApiError, NodeOperationError, jsonParse } from 'n8n-workflow';
import { URL } from 'url';
import type { MispCredentials } from './types';
export async function mispApiRequest(
@@ -17,9 +18,7 @@ export async function mispApiRequest(
body: IDataObject = {},
qs: IDataObject = {},
) {
const { baseUrl, allowUnauthorizedCerts } = (await this.getCredentials(
'mispApi',
)) as MispCredentials;
const { baseUrl, allowUnauthorizedCerts } = await this.getCredentials<MispCredentials>('mispApi');
const options: IRequestOptions = {
method,