mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Removal of request lib from the code (#6413)
* refactor: Removal of request lib from the code
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
1197811a1e
commit
632ea275b7
@@ -6,7 +6,7 @@ import type { IncomingHttpHeaders } from 'http';
|
||||
import type { Readable } from 'stream';
|
||||
import type { URLSearchParams } from 'url';
|
||||
import type { OptionsWithUri, OptionsWithUrl } from 'request';
|
||||
import type { RequestPromiseOptions, RequestPromiseAPI } from 'request-promise-native';
|
||||
import type { RequestPromiseOptions } from 'request-promise-native';
|
||||
import type { PathLike } from 'fs';
|
||||
|
||||
import type { CODE_EXECUTION_MODES, CODE_LANGUAGES } from './Constants';
|
||||
@@ -657,7 +657,7 @@ export type ICredentialTestFunction = (
|
||||
|
||||
export interface ICredentialTestFunctions {
|
||||
helpers: {
|
||||
request: RequestPromiseAPI;
|
||||
request: (uriOrObject: string | object, options?: object) => Promise<any>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user