Correct migration script.
Stub code for routes. Update existing routes to set the reminder's guild ID.
This commit is contained in:
parent
38133be15d
commit
6726ca0c2d
19
web/static/js/reminder_errors.js
Normal file
19
web/static/js/reminder_errors.js
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
let _reminderErrors = [];
|
||||||
|
|
||||||
|
const reminderErrors = () => {
|
||||||
|
return _reminderErrors;
|
||||||
|
}
|
||||||
|
|
||||||
|
const guildId = () => {
|
||||||
|
let selected: HTMLElement = document.querySelector(".guildList a.is-active");
|
||||||
|
return selected.dataset["guild"];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function loadErrors() {
|
||||||
|
fetch(`/dashboard/api/guild/${guildId()}/errors`).then(response => response.json())
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user