diff --git a/mediarepo-api/src/types/files.rs b/mediarepo-api/src/types/files.rs index 45ee684..66110f3 100644 --- a/mediarepo-api/src/types/files.rs +++ b/mediarepo-api/src/types/files.rs @@ -36,7 +36,7 @@ pub struct FindFilesRequest { } #[derive(Clone, Debug, Serialize, Deserialize)] -#[serde(tag = "filter_type")] +#[serde(tag = "filter_type", content = "filter")] pub enum FilterExpression { OrExpression(Vec), Query(TagQuery),