Skip to content

Instantly share code, notes, and snippets.

@stahnma
Created March 4, 2014 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stahnma/c6f5f3cddb6765998e33 to your computer and use it in GitHub Desktop.
Save stahnma/c6f5f3cddb6765998e33 to your computer and use it in GitHub Desktop.
Hubot> hubot fitbit approve
Hubot> [Mon Feb 17 2014 16:27:33 GMT-0800 (PST)] ERROR TypeError: Cannot read property 'friends' of undefined
at /home/stahnma/myhubot/scripts/fitbit.coffee:114:7, <js>:105:24
at /home/stahnma/myhubot/node_modules/fitbit-js/lib/fitbit_client.js:28:25
at passBackControl (/home/stahnma/myhubot/node_modules/fitbit-js/node_modules/oauth/lib/oauth.js:386:13)
at IncomingMessage.<anonymous> (/home/stahnma/myhubot/node_modules/fitbit-js/node_modules/oauth/lib/oauth.js:398:9)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment