From d165c081f75ebe9a52ad6cfc0f01aa5598aef408 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sun, 31 Jul 2022 21:54:17 -0700 Subject: [PATCH] Fix API breakage project creation (#409) --- src/routes/project_creation.rs | 1 + 1 file changed, 1 insertion(+) 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,