fixing fitbit

This commit is contained in:
Martin Donnelly 2016-04-11 15:09:22 +01:00
parent 20eab56194
commit e233de0415
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"tokenPath": "/oauth2/token"
},
"authorization_uri": {
"redirect_uri": "http://localhost:9000/fitbit_auth_callback/",
"redirect_uri": "http://www.silvrtree.co.uk/fitbit_auth_callback/",
"response_type": "code",
"scope": "activity nutrition profile settings sleep social weight heartrate",
"state": "3(#0/!~"

View File

@ -159,7 +159,7 @@ app.get('/fitbit_auth_callback', function (req, res, next) {
jsonfile.readFile('./fb-token.json', function(err, obj) {
if (err) {
logger.error(err)
logger.error(err);
}
else {