Fix: arguments sent to sync.put is wrong
This commit is contained in:
parent
31c1845b1b
commit
cb8fc0e75b
|
@ -154,7 +154,7 @@ const styleManager = (() => {
|
|||
if (oldDoc) {
|
||||
diff = compareRevision(oldDoc._rev, doc._rev);
|
||||
if (diff > 0) {
|
||||
sync.put(oldDoc);
|
||||
sync.put(oldDoc._id, oldDoc._rev);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user