diff --git a/src/download.ts b/src/download.ts index fd345eb..e73a73c 100644 --- a/src/download.ts +++ b/src/download.ts @@ -6,7 +6,7 @@ import { bodyToBuffer, isWriteable } from './util'; import { Pointer } from './pointers'; -interface DownloadBlobRequset { +interface DownloadBlobRequest { http: HttpClient; headers?: Record; @@ -38,7 +38,7 @@ function isValidLFSInfoResponseData(val: Record): val is LFSInfoRes * Currently, the authorization header is responsibility of the caller. */ export default async function downloadBlobFromPointer( - { http: { request }, headers = {}, url, auth }: DownloadBlobRequset, + { http: { request }, headers = {}, url, auth }: DownloadBlobRequest, { info, objectPath }: Pointer, ): Promise {