Fix API breakage project creation (#409)

This commit is contained in:
Geometrically 2022-07-31 21:54:17 -07:00 committed by GitHub
parent 992de7d66e
commit d165c081f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,7 @@ struct ProjectCreateData {
/// A list of the categories that the project is in.
pub categories: Vec<String>,
#[validate(length(max = 256))]
#[serde(default = "Vec::new")]
/// A list of the categories that the project is in.
pub additional_categories: Vec<String>,