Update to all catch functions.
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user