Skip to content

Commit

Permalink
fix: fix id_vec IDs not being incremented during serialization (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
white-axe authored Jan 19, 2024
1 parent 0cef77b commit 2509af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/data/src/helpers/id_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ where
let mut seq = serializer.serialize_seq(Some(values.len()))?;

for value in values {
seq.serialize_element(value)?;
seq.serialize_element(&(*value + 1))?;
}

seq.end()
Expand Down

0 comments on commit 2509af6

Please sign in to comment.