Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Uewotm90 committed Dec 7, 2023
1 parent 12f8450 commit c00dce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl<T> RequestExt for Request<T> {
self.metadata().get("authorization").map(|token| {
token
.to_str()
.expect("failed to parse token string")
.expect("failed to parse token string")
.trim_start_matches("Bearer ")
.to_string()
})
Expand Down

0 comments on commit c00dce7

Please sign in to comment.