Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed Jan 30, 2024
1 parent 34e000d commit 8529ceb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/router/src/services/authentication/blacklist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ pub async fn insert_user_in_blacklist(state: &AppState, user_id: &str) -> UserRe
expiry_to_i64(JWT_TOKEN_TIME_IN_SECS).change_context(UserErrors::InternalServerError)?;
let redis_conn = get_redis_connection(state).change_context(UserErrors::InternalServerError)?;
redis_conn
.set_key_with_expiry(user_blacklist_key.as_str(), date_time::now_unix_timestamp(), expiry)
.set_key_with_expiry(
user_blacklist_key.as_str(),
date_time::now_unix_timestamp(),
expiry,
)
.await
.change_context(UserErrors::InternalServerError)
}
Expand Down

0 comments on commit 8529ceb

Please sign in to comment.