mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix favorite saving
parent
a77a74ba61
commit
a731687607
|
@ -69,7 +69,7 @@ class UpsertUserAllHandler(
|
|||
userFavoriteMusicList?.let { list ->
|
||||
val d = rp.userGeneralData.findByUserAndPropertyKey(u, "favorite_music")()
|
||||
?: UserGeneralData().apply { user = u; propertyKey = "favorite_music" }
|
||||
rp.userGeneralData.save(d.apply { propertyValue = list.joinToString(",") })
|
||||
rp.userGeneralData.save(d.apply { propertyValue = list.joinToString(",") { it.musicId.toString() } })
|
||||
}
|
||||
|
||||
// Playlog
|
||||
|
|
Loading…
Reference in New Issue