mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 21:01:14 +00:00
some fix on WSSongListRoutes
- add delUrl to SongResponse
This commit is contained in:
@@ -219,7 +219,8 @@ fun Routing.wsSongListRoutes() {
|
||||
it.uid,
|
||||
it.reqUid,
|
||||
it.current?.toSerializable(),
|
||||
it.next?.toSerializable()
|
||||
it.next?.toSerializable(),
|
||||
it.delUrl
|
||||
))
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user