Use actual op.id in update
This commit is contained in:
parent
cf1ad2c5f8
commit
94c02f061c
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ impl OpSet {
|
|||
.ok_or(AutomergeError::HeadToOpId)?;
|
||||
let index = object.index_of(opid).unwrap_or(0);
|
||||
tracing::debug!("updating existing element");
|
||||
Some(PendingDiff::SeqUpdate(op.clone(), index, opid))
|
||||
Some(PendingDiff::SeqUpdate(op.clone(), index, op.id))
|
||||
}
|
||||
(true, false) => {
|
||||
let opid = op
|
||||
|
|
Loading…
Add table
Reference in a new issue