various: remove unused imports and parameters; fix clippy lints
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia7a4438e1aa73de2ea1bc6cdf26998f06a6a6964
This commit is contained in:
parent
dec4753567
commit
4b375bc546
6 changed files with 35 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue