Update to all catch functions.
This commit is contained in:
@@ -62,7 +62,7 @@ async function handle_load_ae_account_obj_id({account_id, try_cache=false}) {
|
||||
let message = {'account_id': $slct.account_id};
|
||||
window.parent.postMessage(message, "*");
|
||||
})
|
||||
.catch(function (error) {
|
||||
.catch(function (error: any) {
|
||||
console.log('No results returned or failed.', error);
|
||||
});
|
||||
|
||||
@@ -139,7 +139,7 @@ async function handle_load_ae_sponsorship_obj_li({account_id, try_cache=true}) {
|
||||
$slct.sponsorship_obj_li = [];
|
||||
}
|
||||
})
|
||||
.catch(function (error) {
|
||||
.catch(function (error: any) {
|
||||
console.log('No results returned or failed.', error);
|
||||
})
|
||||
.finally(function () {
|
||||
|
||||
Reference in New Issue
Block a user