Fix pedantic clippy

This commit is contained in:
Matthew Esposito 2024-01-27 23:34:23 -05:00
parent 6c2579cda9
commit 03e267f02e
No known key found for this signature in database

View File

@ -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 {