Add like_dislike field to SongData

This commit is contained in:
2024-07-28 22:40:52 -04:00
parent d45f102be7
commit e5a6e8f44e

View File

@ -26,6 +26,8 @@ pub struct SongData {
/// Path to song image, relative to the root of the web server.
/// For example, `"/assets/images/Song.jpg"`
pub image_path: String,
/// Whether the song is liked by the user
pub like_dislike: Option<(bool, bool)>,
}