Fix team member splits being set to 0 by default (#490)

This commit is contained in:
Geometrically
2022-12-02 09:32:17 -08:00
committed by GitHub
parent 820519b4f7
commit c34e2ab3e1
3 changed files with 23 additions and 21 deletions

View File

@@ -8,9 +8,9 @@ use validator::Validate;
pub struct PackFormat {
pub game: String,
pub format_version: i32,
#[validate(length(min = 3, max = 512))]
#[validate(length(min = 1, max = 512))]
pub version_id: String,
#[validate(length(min = 3, max = 512))]
#[validate(length(min = 1, max = 512))]
pub name: String,
#[validate(length(max = 2048))]
pub summary: Option<String>,