chore: fmt
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-20 16:05:27 +02:00
parent 57d30f2129
commit 7a71f9b106
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394
2 changed files with 6 additions and 7 deletions

View File

@ -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>,

View File

@ -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!()
} }
} }