Fix incorrect variable name

This commit is contained in:
Corban-Lee Jones 2024-04-26 23:27:23 +01:00
parent 3808630e4d
commit f6bf8c85e8

View File

@ -207,8 +207,8 @@ async function loadSubscriptions(guildId) {
$("#subTable thead .table-select-all").prop("disabled", subscriptions.results.length === 0);
}
catch (err) {
console.error(JSON.stringify(error, null, 4));
showToast("danger", `Error Loading Subscriptions: HTTP ${error.status}`, error.responseJSON.message, 15000);
console.error(JSON.stringify(err, null, 4));
showToast("danger", `Error Loading Subscriptions: HTTP ${err.status}`, err.responseJSON.message, 15000);
}
}