From 0534e543aca2d172474648f2525f4be749b38608 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 18 Nov 2021 19:46:53 +0100 Subject: [PATCH] Change tagging of FilterExpression to adjacent Signed-off-by: trivernis --- mediarepo-api/src/types/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),