Fix rustfmt formatting in server and kiosk

This commit is contained in:
2026-08-09 19:54:00 -04:00
parent 77bc93e70f
commit f6487f00e3
11 changed files with 57 additions and 40 deletions
+8 -2
View File
@@ -81,7 +81,10 @@ pub struct KioskIdentity {
impl FromRequestParts<AppState> for AdminIdentity {
type Rejection = AppError;
async fn from_request_parts(parts: &mut Parts, state: &AppState) -> Result<Self, Self::Rejection> {
async fn from_request_parts(
parts: &mut Parts,
state: &AppState,
) -> Result<Self, Self::Rejection> {
let token = bearer_token(parts)?;
let data = decode::<AdminClaims>(
&token,
@@ -100,7 +103,10 @@ impl FromRequestParts<AppState> for AdminIdentity {
impl FromRequestParts<AppState> for KioskIdentity {
type Rejection = AppError;
async fn from_request_parts(parts: &mut Parts, state: &AppState) -> Result<Self, Self::Rejection> {
async fn from_request_parts(
parts: &mut Parts,
state: &AppState,
) -> Result<Self, Self::Rejection> {
let token = bearer_token(parts)?;
let token_hash = hash_opaque_token(&token);