fixing fitbit
This commit is contained in:
parent
20eab56194
commit
e233de0415
@ -12,7 +12,7 @@
|
|||||||
"tokenPath": "/oauth2/token"
|
"tokenPath": "/oauth2/token"
|
||||||
},
|
},
|
||||||
"authorization_uri": {
|
"authorization_uri": {
|
||||||
"redirect_uri": "http://localhost:9000/fitbit_auth_callback/",
|
"redirect_uri": "http://www.silvrtree.co.uk/fitbit_auth_callback/",
|
||||||
"response_type": "code",
|
"response_type": "code",
|
||||||
"scope": "activity nutrition profile settings sleep social weight heartrate",
|
"scope": "activity nutrition profile settings sleep social weight heartrate",
|
||||||
"state": "3(#0/!~"
|
"state": "3(#0/!~"
|
||||||
|
@ -159,7 +159,7 @@ app.get('/fitbit_auth_callback', function (req, res, next) {
|
|||||||
|
|
||||||
jsonfile.readFile('./fb-token.json', function(err, obj) {
|
jsonfile.readFile('./fb-token.json', function(err, obj) {
|
||||||
if (err) {
|
if (err) {
|
||||||
logger.error(err)
|
logger.error(err);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user