Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated readme, usersConnected callback wants to put error message in…

… first parameter
  • Loading branch information...
commit 22fa348968bb5b3f38e931d2aeec605668bedd43 1 parent 97f25d7
Dominik Rask ImDom authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  README.md
2  README.md
Source Rendered
@@ -55,7 +55,7 @@ API Examples
55 55 var beaconpush = new bp.Client('<your-api-key>', '<your-secret-key>');
56 56
57 57 // Get number of users currently connected to your site
58   - beaconpush.usersConnected(function (numConnected) {
  58 + beaconpush.usersConnected(function (err, numConnected) {
59 59 console.log('There are ' + numConnected + ' users online');
60 60 });
61 61

0 comments on commit 22fa348

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