Got rid of this ServicePrefix thing

This commit is contained in:
Lennart
2024-10-04 18:15:35 +02:00
parent a2e3cd527e
commit 2aa0e173c8
4 changed files with 8 additions and 21 deletions

View File

@@ -7,16 +7,11 @@ use crate::xml::TagList;
use crate::Error;
use actix_web::web::Path;
use actix_web::HttpRequest;
use derive_more::derive::Deref;
use rustical_store::auth::User;
use serde::Deserialize;
use tracing::instrument;
use tracing_actix_web::RootSpan;
// This is not the final place for this struct
#[derive(Deref)]
pub struct ServicePrefix(pub String);
#[derive(Deserialize, Clone, Debug)]
#[serde(rename_all = "kebab-case")]
pub struct PropElement {