Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marioortizmanero committed Jul 14, 2021
1 parent 60abe6f commit 27e7e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/oauth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pub trait OAuthClient: BaseClient {
/// [Reference](https://developer.spotify.com/documentation/web-api/reference/#endpoint-unfollow-playlist)
async fn playlist_unfollow(&self, playlist_id: &PlaylistId) -> ClientResult<()> {
let url = format!("playlists/{}/followers", playlist_id.id());
self.endpoint_delete(&url, &json!({})).await;
self.endpoint_delete(&url, &json!({})).await?;

Ok(())
}
Expand Down

0 comments on commit 27e7e41

Please sign in to comment.