Skip to content

Commit

Permalink
Fix pedantic clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sigaloid committed Jan 28, 2024
1 parent 6c2579c commit 03e267f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub async fn json(path: String, quarantine: bool) -> Result<Value, String> {
}
Err(e) => {
error!("Got a bad response from reddit {e} - forcing a token refresh. Status code: {status}");
let _ = force_refresh_token().await;
let () = force_refresh_token().await;
if status.is_server_error() {
Err("Reddit is having issues, check if there's an outage".to_string())
} else {
Expand Down

0 comments on commit 03e267f

Please sign in to comment.