Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the right method name, that's important

  • Loading branch information...
commit 9ee7b5f74d66585614e1891b2596f8829dd9234b 1 parent bd36951
@jshirley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/gallery-model-sync-rest/js/model-sync-rest.js
View
2  src/gallery-model-sync-rest/js/model-sync-rest.js
@@ -267,7 +267,7 @@ RESTSync.prototype = {
// Prepare the content if we are sending data to the server.
if (method === 'POST' || method === 'PUT') {
- entity = this.encode();
+ entity = this._serialize();
} else {
// Remove header, no content is being sent.
delete headers['Content-Type'];
Please sign in to comment.
Something went wrong with that request. Please try again.