From bf6f50ecddf8ac2300217a541ee5a6555480b503 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 30 Oct 2021 19:07:07 +0200 Subject: [PATCH] Change name of sort namespace field '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 9a74219..ad4e813 100644 --- a/mediarepo-api/src/types/files.rs +++ b/mediarepo-api/src/types/files.rs @@ -48,7 +48,7 @@ pub enum SortKey { #[derive(Clone, Debug, Serialize, Deserialize)] pub struct SortNamespace { - pub tag: String, + pub name: String, pub direction: SortDirection, }