Skip to content

Commit 4dce94c

Browse files
committed
Merge pull request #191 from leeyeh/chore
[fix] AV.User#fetch does not support fetch options.
2 parents 9510700 + 43b9865 commit 4dce94c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ module.exports = function(AV) {
452452
/**
453453
* @see AV.Object#fetch
454454
*/
455-
fetch: function(options) {
456-
return AV.Object.prototype.fetch.call(this, filterOutCallbacks(options))
455+
fetch: function(fetchOptions, options) {
456+
return AV.Object.prototype.fetch.call(this, fetchOptions, {})
457457
.then(function(model) {
458458
return model._handleSaveResult(false).then(function() {
459459
return model;

0 commit comments

Comments
 (0)