Skip to content

Commit 1ae6b29

Browse files
committed
Fix parse-community#1452 by not applying pending updates a second time in ParseObject.toJSON()
1 parent 5e36120 commit 1ae6b29

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
@@ -470,10 +470,6 @@ class ParseObject {
470470
json[attr] = encode(attrs[attr], false, false, seen, offline);
471471
}
472472
}
473-
const pending = this._getPendingOps();
474-
for (const attr in pending[0]) {
475-
json[attr] = pending[0][attr].toJSON(offline);
476-
}
477473

478474
if (this.id) {
479475
json.objectId = this.id;

0 commit comments

Comments
 (0)