Skip to content

Commit 56bd0d9

Browse files
authored
[PECO-2049] Add custom auth headers into cloud fetch request (#267)
Signed-off-by: Jacky Hu <[email protected]>
1 parent 1adcb94 commit 56bd0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/result/CloudFetchResultHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class CloudFetchResultHandler implements IResultsProvider<ArrowBa
7373
throw new Error('CloudFetch link has expired');
7474
}
7575

76-
const response = await this.fetch(link.fileLink);
76+
const response = await this.fetch(link.fileLink, { headers: link.httpHeaders });
7777
if (!response.ok) {
7878
throw new Error(`CloudFetch HTTP error ${response.status} ${response.statusText}`);
7979
}

0 commit comments

Comments
 (0)