Apply additional categories fix to search indexing (#428)

* Apply additional categories fix to search indexing

* fix edit version validator
This commit is contained in:
Geometrically
2022-08-20 22:34:00 -07:00
committed by GitHub
parent 76c0fa2fe2
commit 9c7b34d5e6
3 changed files with 178 additions and 169 deletions

View File

@@ -167,7 +167,7 @@ pub async fn version_get(
#[derive(Serialize, Deserialize, Validate)]
pub struct EditVersion {
#[validate(length(min = 3, max = 256))]
#[validate(length(min = 1, max = 256))]
pub name: Option<String>,
#[validate(
length(min = 1, max = 64),