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

This commit is contained in:
Geometrically authored and GitHub committed 2022-12-02 10:32:17 -07:00
1 parent 820519b4f7
commit c34e2ab3e1
3 files changed
+23 -21

No files matched your search

+2 -2
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>,