Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
57d30f2129
commit
7a71f9b106
@ -1,12 +1,10 @@
|
|||||||
|
|
||||||
use std::fmt::Display;
|
use std::fmt::Display;
|
||||||
|
|
||||||
use crate::router::AppState;
|
use crate::router::AppState;
|
||||||
|
|
||||||
|
|
||||||
use axum::extract::{FromRef, FromRequestParts, Query, State};
|
use axum::extract::{FromRef, FromRequestParts, Query, State};
|
||||||
|
|
||||||
use axum::headers::{Cookie};
|
use axum::headers::Cookie;
|
||||||
use axum::http::request::Parts;
|
use axum::http::request::Parts;
|
||||||
use axum::http::StatusCode;
|
use axum::http::StatusCode;
|
||||||
|
|
||||||
@ -17,12 +15,9 @@ use axum::{async_trait, Json, RequestPartsExt, Router, TypedHeader};
|
|||||||
use como_domain::users::User;
|
use como_domain::users::User;
|
||||||
use como_infrastructure::register::ServiceRegister;
|
use como_infrastructure::register::ServiceRegister;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
|
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct ZitadelAuthParams {
|
pub struct ZitadelAuthParams {
|
||||||
return_url: Option<String>,
|
return_url: Option<String>,
|
||||||
|
@ -211,7 +211,11 @@ impl ItemService for MemoryItemService {
|
|||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn update_item(&self, _context: &Context, _item: UpdateItemDto) -> anyhow::Result<ItemDto> {
|
async fn update_item(
|
||||||
|
&self,
|
||||||
|
_context: &Context,
|
||||||
|
_item: UpdateItemDto,
|
||||||
|
) -> anyhow::Result<ItemDto> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user