Skip to content

Commit

Permalink
Merge pull request #21 from netlify/config-tweak
Browse files Browse the repository at this point in the history
Only store the auth token
  • Loading branch information
bcomnes authored Jul 3, 2018
2 parents bd9a651 + abb84db commit e860ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Netlify {
const authorizedTicket = await this.waitForAuthorizedToken(ticket, ts)
const accessToken = await this.api.exchangeTicket(authorizedTicket.id)

return accessToken
return accessToken.access_token
}

waitForAuthorizedToken(ticket, waitUntil) {
Expand Down

0 comments on commit e860ba4

Please sign in to comment.