fix: typo in type name
This commit is contained in:
parent
64659703ac
commit
f6883ed988
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import { bodyToBuffer, isWriteable } from './util';
|
||||||
import { Pointer } from './pointers';
|
import { Pointer } from './pointers';
|
||||||
|
|
||||||
|
|
||||||
interface DownloadBlobRequset {
|
interface DownloadBlobRequest {
|
||||||
http: HttpClient;
|
http: HttpClient;
|
||||||
headers?: Record<string, any>;
|
headers?: Record<string, any>;
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ function isValidLFSInfoResponseData(val: Record<string, any>): val is LFSInfoRes
|
||||||
* Currently, the authorization header is responsibility of the caller.
|
* Currently, the authorization header is responsibility of the caller.
|
||||||
*/
|
*/
|
||||||
export default async function downloadBlobFromPointer(
|
export default async function downloadBlobFromPointer(
|
||||||
{ http: { request }, headers = {}, url, auth }: DownloadBlobRequset,
|
{ http: { request }, headers = {}, url, auth }: DownloadBlobRequest,
|
||||||
{ info, objectPath }: Pointer,
|
{ info, objectPath }: Pointer,
|
||||||
): Promise<Buffer> {
|
): Promise<Buffer> {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue