debug on WSSongListRoutes.kt

- debug re-tx logics
This commit is contained in:
dalbodeule 2024-09-24 10:42:39 +09:00
parent 94e226fcab
commit c9ceaf01fc
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -138,7 +138,14 @@ fun Routing.wsSongListRoutes() {
handleSongRequest(data, user, dispatcher, logger)
// Send ACK after handling request
send("ACK: ${data.url}")
sendSerialized(SongResponse(
SongType.ACK.value,
user.token!!,
null,
null,
null,
null,
))
}
}
is Ping -> send(Pong(frame.data))