Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
Fix .save() named function in Group.js
Browse files Browse the repository at this point in the history
Prototype function `group.save()` points to an incorrectly named `saveAccount` function.

This is trivial and only affects stack traces.
  • Loading branch information
MrMaz authored and Robert committed Jul 25, 2016
1 parent 4738d45 commit effdb34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/resource/Group.js
Expand Up @@ -31,4 +31,12 @@ Group.prototype.getAccountMemberships = function getGroupAccountMemberships(/* [
return this.dataStore.getResource(this.accountMemberships.href, args.options, require('./GroupMembership'), args.callback);
};

Group.prototype.save = function saveGroup(){
var self = this;
var args = arguments;
self._applyCustomDataUpdatesIfNecessary(function(){
Group.super_.prototype.save.apply(self, args);
});
};

module.exports = Group;

0 comments on commit effdb34

Please sign in to comment.