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

@@ -142,7 +142,7 @@ export interface APIRequest {
/**
* The data that was used to form the body of this request
*/
data: Pick<InternalRequest, 'attachments' | 'body'>;
data: Pick<InternalRequest, 'files' | 'body'>;
/**
* The number of times this request has been attempted
*/