Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Oldham committed Sep 17, 2024
1 parent c412161 commit d2e7241
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions psst-gui/src/webapi/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ impl WebApi {
}

/// Very similar to `for_all_pages`, but only returns a certain number of results
/// TODO: test properly
fn for_some_pages<T: DeserializeOwned + Clone>(
&self,
request: Request,
Expand Down Expand Up @@ -572,7 +571,6 @@ impl WebApi {
}

// https://developer.spotify.com/documentation/web-api/reference/get-users-top-artists-and-tracks
// TODO Cache this.
pub fn get_user_top_tracks(&self) -> Result<Vector<Arc<Track>>, Error> {
let request = self.get("v1/me/top/tracks", None)?
.query("market", "from_token");
Expand All @@ -582,7 +580,6 @@ impl WebApi {
Ok(result)
}

// TODO Cache this.
pub fn get_user_top_artist(&self) -> Result<Vector<Artist>, Error> {
#[derive(Clone, Data, Deserialize)]
struct Artists {
Expand Down

0 comments on commit d2e7241

Please sign in to comment.