Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dutchie032 committed Sep 11, 2024
1 parent e2fbedc commit 3577e9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ impl RequestInterceptor for AuthInterceptor {
} else {
match req.headers().get("X-API-Key").map(|v| v.to_str()) {
Some(Ok(token)) => {
//check if token is correct if auth is
let mut client: Option<&String> = None;
for key in &self.auth_config.tokens {
if key.token == token {
Expand Down

0 comments on commit 3577e9b

Please sign in to comment.