lighua
6 months ago
Failed to extract signature
1 changed files with
2 additions and
1 deletions
-
packages/effects/request/src/request-client/modules/downloader.ts
|
|
|
@ -28,11 +28,12 @@ class FileDownloader { |
|
|
|
): Promise<T> { |
|
|
|
const finalConfig: DownloadRequestConfig = { |
|
|
|
responseReturn: 'body', |
|
|
|
method: 'GET', |
|
|
|
...config, |
|
|
|
responseType: 'blob', |
|
|
|
}; |
|
|
|
|
|
|
|
const response = await this.client.get<T>(url, finalConfig); |
|
|
|
const response = await this.client.request<T>(url, finalConfig); |
|
|
|
|
|
|
|
return response; |
|
|
|
} |
|
|
|
|