main: make bandcamp command use bandcamp library to avoid panics
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ struct BandcampQueryArgs {
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
enum BandcampResult {
|
||||
pub enum BandcampResult {
|
||||
Artist { name: String, bio: Option<String>, location: Option<String> },
|
||||
Album { title: String, about: Option<String>, credits: Option<String>, release_date: DateTime<Utc>, artist: String }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user