Permalink
Browse files

fixed broken links

  • Loading branch information...
1 parent 7ce6393 commit e545e24b28e5466b5970564afe2b786e22bf71fe @hstove hstove committed Aug 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/modules/dailycred.js
View
@@ -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 e545e24

Please sign in to comment.