Changed id field of the Song model #22

Merged
kdeng00 merged 2 commits from icarus_model_changes into master 2025-02-01 21:43:01 -05:00
Showing only changes of commit 9846b2a89a - Show all commits
+1 -1
View File
@@ -7,7 +7,7 @@ use crate::constants;
#[derive(Clone, Debug, Deserialize, Serialize)] #[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Song { pub struct Song {
#[serde(alias = "song_id")] #[serde(alias = "id")]
pub id: Option<i32>, pub id: Option<i32>,
pub title: Option<String>, pub title: Option<String>,
pub artist: Option<String>, pub artist: Option<String>,