Changed id field of the Song model (#22)
* Changed id field of the Song model * Updated Readme
This commit was merged in pull request #22.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ use crate::constants;
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct Song {
|
||||
#[serde(alias = "song_id")]
|
||||
#[serde(alias = "id")]
|
||||
pub id: Option<i32>,
|
||||
pub title: Option<String>,
|
||||
pub artist: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user