Skip to content

Commit

Permalink
Only store the auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jun 29, 2018
1 parent bd9a651 commit abb84db
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 abb84db

Please sign in to comment.