refactor: Removal of request lib from the code (#6413)

* refactor: Removal of request lib from the code
This commit is contained in:
Omar Ajoue
2023-06-14 16:40:16 +02:00
committed by कारतोफ्फेलस्क्रिप्ट™
parent 1197811a1e
commit 632ea275b7
6 changed files with 19 additions and 76 deletions

View File

@@ -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>;
};
}