From e04a61151fe3b0feb5f8b604cb6dde87af8d4670 Mon Sep 17 00:00:00 2001 From: Anton Strogonoff Date: Mon, 29 Nov 2021 02:58:43 +0100 Subject: [PATCH] docs(download): clarify authorization header --- src/download.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/download.ts b/src/download.ts index 0388dab..6b6cad0 100644 --- a/src/download.ts +++ b/src/download.ts @@ -32,6 +32,7 @@ function isValidLFSInfoResponseData(val: Record): val is LFSInfoRes /** * Downloads, caches and returns a blob corresponding to given LFS pointer. + * Currently, the authorization header is responsibility of the caller. */ export default async function downloadBlobFromPointer( { http: { request }, headers = {}, url }: DownloadBlobRequset,