fix: use DEFAULT_DOWNLOAD_OPTIONS

This commit is contained in:
Derrick Hammer 2024-02-13 00:09:52 -05:00
parent 39ccac179d
commit bc6d545501
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export const DEFAULT_DOWNLOAD_OPTIONS = {
range: undefined,
responseType: undefined,
subdomain: "",
};
} as CustomDownloadOptions;
const DEFAULT_GET_METADATA_OPTIONS = {};
@ -133,7 +133,7 @@ export async function downloadData(
download: true,
};
const config = optionsToConfig(this, DEFAULT_UPLOAD_OPTIONS, customOptions);
const config = optionsToConfig(this, DEFAULT_DOWNLOAD_OPTIONS, customOptions);
return await (
await getS5DownloadCid(cid, {