mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
add Session flows (1x)
- fix APIRoutes (debug Naver UserID)
This commit is contained in:
@@ -73,7 +73,7 @@ fun Routing.apiRoutes() {
|
||||
return@get
|
||||
}
|
||||
println(session)
|
||||
val user = UserService.getUserWithNaverId(session.id.toLong())
|
||||
val user = UserService.getUserWithNaverId(session.id)
|
||||
if(user == null) {
|
||||
call.respondText("No session found", status = HttpStatusCode.NotFound)
|
||||
return@get
|
||||
|
Reference in New Issue
Block a user