Skip to content

Commit ec75ddb

Browse files
committed
Fix #1452 by not applying pending updates a second time in ParseObject.toJSON()
1 parent ce41389 commit ec75ddb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ParseObject.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,6 @@ class ParseObject {
478478
json[attr] = encode(attrs[attr], false, false, seen, offline);
479479
}
480480
}
481-
const pending = this._getPendingOps();
482-
for (const attr in pending[0]) {
483-
json[attr] = pending[0][attr].toJSON(offline);
484-
}
485481

486482
if (this.id) {
487483
json.objectId = this.id;

0 commit comments

Comments
 (0)