mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
debug on loading (7x)
This commit is contained in:
parent
b7985ff72c
commit
c0cec43f39
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user