Skip to content

Commit 681a33a

Browse files
committed
fix
1 parent dee0390 commit 681a33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/signed_doc/src/metadata/extra_fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub struct ExtraFields {
4242
#[serde(skip_serializing_if = "Option::is_none")]
4343
pub(super) section: Option<String>,
4444
/// Reference to the document collaborators. Collaborator type is TBD.
45-
#[serde(skip_serializing_if = "Vec::is_empty")]
45+
#[serde(default = "Vec::new", skip_serializing_if = "Vec::is_empty")]
4646
pub(super) collabs: Vec<String>,
4747
/// Unique identifier for the brand that is running the voting.
4848
#[serde(skip_serializing_if = "Option::is_none")]

0 commit comments

Comments
 (0)