Skip to content

Commit

Permalink
Fix regression causing names to be encoded as array of numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Mar 15, 2024
1 parent 75fdd42 commit c43c874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl Serialize for Event<'_> {
map.serialize_value(&self.id)?;
if let Some(node) = &self.node {
map.serialize_key("NODE")?;
map.serialize_value(&node)?;
map.serialize_value(&Bytes(node))?;
}
for (k, v) in &self.body {
map.serialize_entry(&k, &v)?;
Expand Down

0 comments on commit c43c874

Please sign in to comment.