Merge pull request #114 from dalbodeule/develop

some fix on WSSongListRoutes
This commit is contained in:
JinU Choi 2024-08-24 14:34:52 +09:00 committed by GitHub
commit fc94ffc03c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -219,7 +219,8 @@ fun Routing.wsSongListRoutes() {
it.uid, it.uid,
it.reqUid, it.reqUid,
it.current?.toSerializable(), it.current?.toSerializable(),
it.next?.toSerializable() it.next?.toSerializable(),
it.delUrl
)) ))
} }
} }

View File

@ -125,7 +125,8 @@ fun Routing.wsSongRoutes() {
it.uid, it.uid,
it.reqUid, it.reqUid,
it.current?.toSerializable(), it.current?.toSerializable(),
it.next?.toSerializable() it.next?.toSerializable(),
it.delUrl
)) ))
} }
} }
@ -137,7 +138,7 @@ fun Routing.wsSongRoutes() {
it.uid, it.uid,
null, null,
null, null,
null null,
)) ))
} }
} }
@ -161,4 +162,5 @@ data class SongResponse(
val reqUid: String?, val reqUid: String?,
val current: SerializableYoutubeVideo? = null, val current: SerializableYoutubeVideo? = null,
val next: SerializableYoutubeVideo? = null, val next: SerializableYoutubeVideo? = null,
val delUrl: String? = null
) )