Skip to content

Commit

Permalink
Fix implementation of getGroups.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveWang committed Aug 10, 2011
1 parent d0c5449 commit 892fc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/now.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Now.prototype.getClient = function (id, callback) {
* });
*/
Now.prototype.getGroups = function (callback) {
callback(this.groups);
callback(Object.keys(this.groups));
};

/**
Expand Down

0 comments on commit 892fc96

Please sign in to comment.