refactor(rest): rename attachment to file (#7199)

This commit is contained in:
ckohen
2022-01-07 15:49:34 -08:00
committed by GitHub
parent 3872acfeb8
commit c969cbf652
8 changed files with 48 additions and 48 deletions

View File

@@ -168,7 +168,7 @@ export class SequentialHandler {
routeId: RouteData,
url: string,
options: RequestInit,
bodyData: Pick<InternalRequest, 'attachments' | 'body'>,
bodyData: Pick<InternalRequest, 'files' | 'body'>,
): Promise<unknown> {
let queue = this.#asyncQueue;
let queueType = QueueType.Standard;
@@ -225,7 +225,7 @@ export class SequentialHandler {
routeId: RouteData,
url: string,
options: RequestInit,
bodyData: Pick<InternalRequest, 'attachments' | 'body'>,
bodyData: Pick<InternalRequest, 'files' | 'body'>,
retries = 0,
): Promise<unknown> {
/*