diff --git a/como_api/src/controllers/auth.rs b/como_api/src/controllers/auth.rs index 91f103a..be727ac 100644 --- a/como_api/src/controllers/auth.rs +++ b/como_api/src/controllers/auth.rs @@ -1,12 +1,10 @@ - use std::fmt::Display; use crate::router::AppState; - use axum::extract::{FromRef, FromRequestParts, Query, State}; -use axum::headers::{Cookie}; +use axum::headers::Cookie; use axum::http::request::Parts; use axum::http::StatusCode; @@ -17,12 +15,9 @@ use axum::{async_trait, Json, RequestPartsExt, Router, TypedHeader}; use como_domain::users::User; use como_infrastructure::register::ServiceRegister; - - use serde::Deserialize; use serde_json::json; - #[derive(Debug, Deserialize)] pub struct ZitadelAuthParams { return_url: Option, diff --git a/como_infrastructure/src/services/item_service.rs b/como_infrastructure/src/services/item_service.rs index a8ebc8b..0b5e683 100644 --- a/como_infrastructure/src/services/item_service.rs +++ b/como_infrastructure/src/services/item_service.rs @@ -211,7 +211,11 @@ impl ItemService for MemoryItemService { todo!() } - async fn update_item(&self, _context: &Context, _item: UpdateItemDto) -> anyhow::Result { + async fn update_item( + &self, + _context: &Context, + _item: UpdateItemDto, + ) -> anyhow::Result { todo!() } }