fix(ci): clippy fixes

This commit is contained in:
Sharang Parnerkar
2026-02-18 10:15:17 +01:00
parent 09bb8a5fc2
commit e49590313f
2 changed files with 3 additions and 7 deletions

View File

@@ -214,7 +214,7 @@ pub async fn auth_callback(
let client = reqwest::Client::new();
let token_resp = client
.post(&config.token_endpoint())
.post(config.token_endpoint())
.form(&[
("grant_type", "authorization_code"),
("client_id", &config.client_id),
@@ -237,7 +237,7 @@ pub async fn auth_callback(
// --- Fetch userinfo ---
let userinfo: UserinfoResponse = client
.get(&config.userinfo_endpoint())
.get(config.userinfo_endpoint())
.bearer_auth(&tokens.access_token)
.send()
.await

View File

@@ -1,11 +1,7 @@
use std::{
ops::{Deref, DerefMut},
sync::Arc,
};
use std::{ops::Deref, sync::Arc};
use axum::extract::FromRequestParts;
use serde::{Deserialize, Serialize};
use tracing::debug;
#[derive(Debug, Clone)]
pub struct UserState(Arc<UserStateInner>);