Skip to content

Commit

Permalink
Merge pull request #6 from wncm/fix-image-chmod
Browse files Browse the repository at this point in the history
Fix image.chmod()
  • Loading branch information
apocas authored Jul 30, 2017
2 parents ccb0848 + b74ea69 commit 5e37e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Image.prototype.chgrp = function(group, callback) {
};

Image.prototype.chmod = function(user_use, user_manage, user_admin, group_use, group_manage, group_admin, other_use, other_manage, other_admin, callback) {
this.modem.call('image.chmod', [this.id, user_use, user_manage, user_admin, group_use, group_manage, group_admin, other_use, other_manage, other_admin, callback], function(err, data) {
this.modem.call('image.chmod', [this.id, user_use, user_manage, user_admin, group_use, group_manage, group_admin, other_use, other_manage, other_admin], function(err, data) {
if (err) return callback(err);
callback(null, data);
});
Expand Down

0 comments on commit 5e37e8d

Please sign in to comment.