mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
debug on loading (7x)
This commit is contained in:
@@ -106,11 +106,6 @@ fun Route.apiDiscordRoutes() {
|
|||||||
call.respond(HttpStatusCode.BadRequest, "Session is required")
|
call.respond(HttpStatusCode.BadRequest, "Session is required")
|
||||||
return@get
|
return@get
|
||||||
}
|
}
|
||||||
val user = UserService.getUserWithNaverId(session.id)
|
|
||||||
if(user == null) {
|
|
||||||
call.respond(HttpStatusCode.BadRequest, "User does not exist")
|
|
||||||
return@get
|
|
||||||
}
|
|
||||||
|
|
||||||
call.respond(HttpStatusCode.OK, DiscordGuildCache.getCachedGuilds(session.discordGuildList))
|
call.respond(HttpStatusCode.OK, DiscordGuildCache.getCachedGuilds(session.discordGuildList))
|
||||||
return@get
|
return@get
|
||||||
|
Reference in New Issue
Block a user