some fix on WSSongListRoutes

- add delUrl to SongResponse
This commit is contained in:
dalbodeule
2024-08-24 14:32:38 +09:00
parent 22bbd05aff
commit 9f4f8e84aa
2 changed files with 6 additions and 3 deletions

View File

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

View File

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