diff --git a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongListRoutes.kt b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongListRoutes.kt index 57792b4..2e07ac1 100644 --- a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongListRoutes.kt +++ b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongListRoutes.kt @@ -219,7 +219,8 @@ fun Routing.wsSongListRoutes() { it.uid, it.reqUid, it.current?.toSerializable(), - it.next?.toSerializable() + it.next?.toSerializable(), + it.delUrl )) } } diff --git a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongRoutes.kt b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongRoutes.kt index 4a87751..d379cf1 100644 --- a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongRoutes.kt +++ b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/routes/WSSongRoutes.kt @@ -125,7 +125,8 @@ fun Routing.wsSongRoutes() { it.uid, it.reqUid, it.current?.toSerializable(), - it.next?.toSerializable() + it.next?.toSerializable(), + it.delUrl )) } } @@ -137,7 +138,7 @@ fun Routing.wsSongRoutes() { it.uid, null, null, - null + null, )) } } @@ -161,4 +162,5 @@ data class SongResponse( val reqUid: String?, val current: SerializableYoutubeVideo? = null, val next: SerializableYoutubeVideo? = null, + val delUrl: String? = null )