Fix finding guild ID in dashboard page url

This commit is contained in:
NovaFox161
2020-03-11 17:02:52 -05:00
parent 8a9e237d19
commit 4139d1bab8

View File

@@ -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() {