Cleanup
This commit is contained in:
@@ -40,7 +40,6 @@ impl Delete {
|
|||||||
println!("Success!");
|
println!("Success!");
|
||||||
let s = response.json::<icarus_models::song::Song>().await;
|
let s = response.json::<icarus_models::song::Song>().await;
|
||||||
match s {
|
match s {
|
||||||
//
|
|
||||||
Ok(parsed) => {
|
Ok(parsed) => {
|
||||||
sng = parsed;
|
sng = parsed;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ impl Upload {
|
|||||||
) -> Result<reqwest::Response, reqwest::Error> {
|
) -> Result<reqwest::Response, reqwest::Error> {
|
||||||
self.api.endpoint = String::from("song/data/upload/with/data");
|
self.api.endpoint = String::from("song/data/upload/with/data");
|
||||||
let url = self.retrieve_url();
|
let url = self.retrieve_url();
|
||||||
// let new_song = self.initialize_song(&song, &album);
|
|
||||||
let access_token = token.bearer_token();
|
let access_token = token.bearer_token();
|
||||||
|
|
||||||
if url.is_empty() {
|
if url.is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user