Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
): 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);

Check failure on line 36 in packages/effects/request/src/request-client/modules/downloader.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

packages/effects/request/src/request-client/modules/downloader.test.ts > fileDownloader > should merge provided config with default config

TypeError: this.client.request is not a function ❯ FileDownloader.download packages/effects/request/src/request-client/modules/downloader.ts:36:40 ❯ packages/effects/request/src/request-client/modules/downloader.test.ts:49:41

Check failure on line 36 in packages/effects/request/src/request-client/modules/downloader.ts

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

packages/effects/request/src/request-client/modules/downloader.test.ts > fileDownloader > should download a file and return a Blob

TypeError: this.client.request is not a function ❯ FileDownloader.download packages/effects/request/src/request-client/modules/downloader.ts:36:40 ❯ packages/effects/request/src/request-client/modules/downloader.test.ts:28:41

return response;
}
Expand Down
Loading