forked from SteamWar/SteamWar
Refactor event group management and routing system
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
package de.steamwar.routes
|
||||
|
||||
import de.steamwar.ResponseError
|
||||
import de.steamwar.data.Groups
|
||||
import de.steamwar.data.getCachedSkin
|
||||
import de.steamwar.plugins.SWAuthPrincipal
|
||||
import de.steamwar.plugins.SWPermissionCheck
|
||||
@@ -102,9 +101,6 @@ fun Route.configureDataRoutes() {
|
||||
}
|
||||
call.respond(YamlConfiguration.loadConfiguration(file).getStringList("Server.Maps"))
|
||||
}
|
||||
get("/groups") {
|
||||
call.respond(Groups.getAllGroups())
|
||||
}
|
||||
}
|
||||
get("/server") {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user