chore(clippy): fix lint

This commit is contained in:
Matthew Esposito 2024-06-27 23:34:27 -04:00
parent 13083e999c
commit 2f8a38d8c7

View File

@ -131,7 +131,7 @@ pub async fn token_daemon() {
}
pub async fn force_refresh_token() {
if !OAUTH_IS_ROLLING_OVER.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_ok() {
if OAUTH_IS_ROLLING_OVER.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_err() {
trace!("Skipping refresh token roll over, already in progress");
return;
}