mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2026-10-25 17:11:16 +09:00
debug on loading (7x)
This commit is contained in:
1 file changed
-5
@@ -106,11 +106,6 @@ fun Route.apiDiscordRoutes() {
|
||||
call.respond(HttpStatusCode.BadRequest, "Session is required")
|
||||
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))
|
||||
return@get
|
||||
|
||||
Reference in new issue
Block a user