various: remove unused imports and parameters; fix clippy lints

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia7a4438e1aa73de2ea1bc6cdf26998f06a6a6964
This commit is contained in:
raf 2026-02-05 22:43:25 +03:00
commit 4b375bc546
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
6 changed files with 35 additions and 24 deletions

View file

@ -11,12 +11,11 @@ use fc_common::{
models::{
CreateStarredJob,
CreateUser,
LoginCredentials,
PaginationParams,
UpdateUser,
User,
},
repo::{self, api_keys},
repo::{self},
};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
@ -175,7 +174,6 @@ async fn delete_user(
// --- Current User Handlers ---
async fn get_current_user(
State(state): State<AppState>,
extensions: axum::http::Extensions,
) -> Result<Json<UserResponse>, ApiError> {
// Try to get user from extensions first