There was an error while loading. Please reload this page.
1 parent 9fc5944 commit df65501Copy full SHA for df65501
packages/effects/request/src/request-client/modules/downloader.ts
@@ -28,11 +28,12 @@ class FileDownloader {
28
): Promise<T> {
29
const finalConfig: DownloadRequestConfig = {
30
responseReturn: 'body',
31
+ method: 'GET',
32
...config,
33
responseType: 'blob',
34
};
35
- const response = await this.client.get<T>(url, finalConfig);
36
+ const response = await this.client.request<T>(url, finalConfig);
37
38
return response;
39
}
0 commit comments