Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias de Bruijn <[email protected]>
  • Loading branch information
TobiasDeBruijn committed Feb 22, 2024
1 parent 21b0395 commit 3890739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chroma/src/routes/v1/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub async fn login(data: WebData, query: web::Query<Query>) -> WebResult<Redirec
let user_info = oauth_api
.get_userinfo(&oauth_tokens.access_token)
.await
.map_err(|e| Error::Koala(e))?;
.map_err(Error::Koala)?;

trace!("Is signed-in user admin?: {}", user_info.is_admin);
User::create(
Expand Down

0 comments on commit 3890739

Please sign in to comment.