Skip to content

Commit

Permalink
fix(ci): fix format arguments (#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Jan 18, 2023
1 parent 8bc75c0 commit 77c03cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/inx-chronicle/api/error.rs
Expand Up @@ -222,7 +222,7 @@ impl IntoResponse for ErrorBody {
.unwrap(),
Err(e) => {
error!("Unable to serialize error body: {}", e);
Result::<(), _>::Err(format!("Unable to serialize error body: {}", e)).into_response()
Result::<(), _>::Err(format!("Unable to serialize error body: {e}")).into_response()
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/inx-chronicle/api/routes.rs
Expand Up @@ -78,7 +78,7 @@ async fn login(
config.jwt_secret_key.as_ref(),
)?;

Ok(format!("Bearer {}", jwt))
Ok(format!("Bearer {jwt}"))
} else {
Err(ApiError::from(AuthError::IncorrectPassword))
}
Expand Down

0 comments on commit 77c03cd

Please sign in to comment.