Skip to content
Browse files

Fix newgroup event comment example

  • Loading branch information...
1 parent 7dc358b commit ddbd08d75c46055daed5568b6efab8c812034810 @ericz ericz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/now.js
View
2 lib/now.js
@@ -103,7 +103,7 @@ Now.prototype.getGroup = function (name) {
* @param {Group} group The group created by {@link nowjs#getGroup}.
* @description Called when a new group is created.
* @example nowjs.on('newgroup', function (group) {
- * console.log('You have successfully created the group `' + groupName + '`');
+ * console.log('You have successfully created the group `' + group.groupName + '`');
* });
*/

0 comments on commit ddbd08d

Please sign in to comment.
Something went wrong with that request. Please try again.