diff --git a/src/routes/project_creation.rs b/src/routes/project_creation.rs index 59a21f181..088fe00e9 100644 --- a/src/routes/project_creation.rs +++ b/src/routes/project_creation.rs @@ -167,6 +167,7 @@ struct ProjectCreateData { /// A list of the categories that the project is in. pub categories: Vec, #[validate(length(max = 256))] + #[serde(default = "Vec::new")] /// A list of the categories that the project is in. pub additional_categories: Vec,