|
|
@@ -45,7 +45,7 @@ module.exports = function(app) {
|
|
|
return callback(new Error('[googleAuth.handleCallback] Error to get token.'), null);
|
|
|
}
|
|
|
|
|
|
- googleapis.discover('oauth2', 'v1').withOpts({cache: { path: __dirname + '/../tmp/googlecache'}}).execute(function(err, client) {
|
|
|
+ googleapis.discover('oauth2', 'v1').withOpts({cache: { path: __dirname + '/../../tmp/googlecache'}}).execute(function(err, client) {
|
|
|
if (err) {
|
|
|
return callback(new Error('[googleAuth.handleCallback] Failed to discover oauth2 API endpoint.'), null);
|
|
|
}
|