Skip to content
Browse files

Merge pull request #316 from hstove/master

Fixed broken links
  • Loading branch information...
2 parents dee15f4 + e545e24 commit dc4a591e3f1518a84667bcb92662da90925807b1 @bnoguchi committed Aug 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/modules/dailycred.js
View
4 lib/modules/dailycred.js
@@ -8,7 +8,7 @@ oauthModule.submodule('dailycred')
.oauthHost('https://www.dailycred.com')
.authPath('https://www.dailycred.com/oauth/authorize')
- .accessTokenPath('/oauth/api/token.json')
+ .accessTokenPath('/oauth/access_token')
.entryPath('/auth/dailycred')
.callbackPath('/auth/dailycred/callback')
@@ -31,7 +31,7 @@ oauthModule.submodule('dailycred')
.fetchOAuthUser( function (accessToken) {
var p = this.Promise();
- this.oauth.get(this.apiHost() + '/oauth/api/me.json', accessToken, function (err, data) {
+ this.oauth.get(this.apiHost() + '/graph/me.json', accessToken, function (err, data) {
if (err) return p.fail(err);
var oauthUser = JSON.parse(data);
p.fulfill(oauthUser);

0 comments on commit dc4a591

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