forked from SteamWar/SteamWar
Fixes
This commit is contained in:
@@ -108,6 +108,7 @@ fun Route.configureDataRoutes() {
|
||||
get("/groups") {
|
||||
call.respond(Groups.getAllGroups())
|
||||
}
|
||||
}
|
||||
get("/server") {
|
||||
try {
|
||||
val server = fetchData(InetSocketAddress("steamwar.de", 25565), 100)
|
||||
@@ -118,7 +119,6 @@ fun Route.configureDataRoutes() {
|
||||
return@get
|
||||
}
|
||||
}
|
||||
}
|
||||
get("/team") {
|
||||
call.respond(
|
||||
listOf(UserPerm.PREFIX_ADMIN, UserPerm.PREFIX_DEVELOPER, UserPerm.PREFIX_MODERATOR, UserPerm.PREFIX_SUPPORTER, UserPerm.PREFIX_BUILDER)
|
||||
|
||||
Reference in New Issue
Block a user