chore: unused opts
This commit is contained in:
parent
86ce3874ec
commit
5bee4f9e8c
|
@ -213,13 +213,6 @@ export class S5Client {
|
||||||
cid: string,
|
cid: string,
|
||||||
customOptions: CustomDownloadOptions = {},
|
customOptions: CustomDownloadOptions = {},
|
||||||
): Promise<ArrayBuffer> {
|
): Promise<ArrayBuffer> {
|
||||||
const opts = {
|
|
||||||
...DEFAULT_DOWNLOAD_OPTIONS,
|
|
||||||
...this.clientOptions,
|
|
||||||
...customOptions,
|
|
||||||
download: true,
|
|
||||||
};
|
|
||||||
|
|
||||||
const config = optionsToConfig(
|
const config = optionsToConfig(
|
||||||
this,
|
this,
|
||||||
DEFAULT_DOWNLOAD_OPTIONS,
|
DEFAULT_DOWNLOAD_OPTIONS,
|
||||||
|
|
Loading…
Reference in New Issue