add Session flows (1x)

- fix APIRoutes (debug Naver UserID)
This commit is contained in:
dalbodeule
2024-08-08 17:37:01 +09:00
parent 561ab188b2
commit 172885ae38
3 changed files with 3 additions and 3 deletions

View File

@@ -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