Another round of lots of updates to fix little bugs here there and everywhere.

This commit is contained in:
Scott Idem
2025-11-13 20:03:51 -05:00
parent 13869b40bd
commit 7cd59bfaac
9 changed files with 26 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ export let get_object = async function get_object(
params = {},
data = {},
timeout = 60000,
// return_meta = false,
return_meta = false,
return_blob = false,
filename = '',
auto_download = false,
@@ -30,7 +30,7 @@ export let get_object = async function get_object(
params?: any,
data?: any,
timeout?: number,
// return_meta?: boolean,
return_meta?: boolean,
return_blob?: boolean,
filename?: null | string,
auto_download?: boolean,
@@ -105,7 +105,7 @@ export let get_object = async function get_object(
for (let attempt = 1; attempt <= retry_count; attempt++) {
try {
const response = await fetch_method(url.toString(), fetchOptions)
.catch(function (error) {
.catch(function (error: any) {
console.log('API GET Object *fetch* request was aborted or failed in an unexpected way.', error);
});
clearTimeout(timeoutId);