mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-12 22:48:28 -06:00
Fix finding guild ID in dashboard page url
This commit is contained in:
@@ -22,7 +22,7 @@ export class DashboardGuildRunner implements TaskCallback {
|
||||
this.apiUrl = apiUrl;
|
||||
this.userId = userId;
|
||||
|
||||
this.guildId = parseInt(window.location.pathname.split("/")[3]);
|
||||
this.guildId = parseInt(window.location.pathname.split("/")[2]);
|
||||
}
|
||||
|
||||
startDashboardGuildPage() {
|
||||
|
||||
Reference in New Issue
Block a user