fix(labrinth): serde(default) new search document fields (#6656)

This commit is contained in:
François-Xavier Talbot
2026-07-07 15:28:54 -07:00
committed by GitHub
parent 96ab120cd0
commit 407641ee7c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ pub struct LegacySearchResults {
pub struct LegacyResultSearchProject {
pub project_id: String,
pub project_type: String,
#[serde(default)]
pub all_project_types: Vec<String>,
pub slug: Option<String>,
pub author: String,
+1
View File
@@ -239,6 +239,7 @@ pub struct UploadSearchProject {
pub project_id: String,
//
pub project_types: Vec<String>,
#[serde(default)]
pub all_project_types: Vec<String>,
pub slug: Option<String>,
pub author: String,