From 59b014bc3f999ef59846dca1a57e2cb3afedbbcd Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 18 Nov 2021 19:19:31 +0100 Subject: [PATCH] Change misleading name 'tags' on tagquery to 'tag 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 cf68886..45ee684 100644 --- a/mediarepo-api/src/types/files.rs +++ b/mediarepo-api/src/types/files.rs @@ -45,7 +45,7 @@ pub enum FilterExpression { #[derive(Clone, Debug, Serialize, Deserialize)] pub struct TagQuery { pub negate: bool, - pub tags: String, + pub tag: String, } #[derive(Clone, Debug, Serialize, Deserialize)]