Update to all catch functions.

This commit is contained in:
Scott Idem
2025-11-13 20:15:09 -05:00
parent 7cd59bfaac
commit 88d36d512d
52 changed files with 170 additions and 170 deletions

View File

@@ -88,7 +88,7 @@ export async function load_ae_obj_id__post(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -268,7 +268,7 @@ export async function load_ae_obj_li__post(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -392,7 +392,7 @@ export async function create_ae_obj__post(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -436,7 +436,7 @@ export async function delete_ae_obj_id__post(
method: method,
log_lvl: log_lvl
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -771,7 +771,7 @@ export async function qry__post(
// return [];
// }
// })
// .catch(function (error) {
// .catch(function (error: any) {
// console.log('No results returned or failed.', error);
// })
// .finally(function () {

View File

@@ -85,7 +85,7 @@ export async function load_ae_obj_id__post_comment(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -185,7 +185,7 @@ export async function load_ae_obj_li__post_comment(
return [];
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
});
@@ -274,7 +274,7 @@ export async function create_ae_obj__post_comment(
return null;
}
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {
@@ -318,7 +318,7 @@ export async function delete_ae_obj_id__post_comment(
method: method,
log_lvl: log_lvl
})
.catch(function (error) {
.catch(function (error: any) {
console.log('No results returned or failed.', error);
})
.finally(function () {