Skip to content

Commit

Permalink
Merge pull request bnoguchi#316 from hstove/master
Browse files Browse the repository at this point in the history
Fixed broken links
  • Loading branch information
bnoguchi committed Aug 8, 2012
2 parents dee15f4 + e545e24 commit dc4a591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/modules/dailycred.js
Expand Up @@ -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')

Expand All @@ -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);
Expand Down

0 comments on commit dc4a591

Please sign in to comment.