Skip to content

Commit

Permalink
bug:set user token correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Satrom committed Mar 9, 2017
1 parent af16a3a commit c494258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (userConfig.data && userConfig.data.api_uri) {
protocol: 'https',
hostname: 'api.xervo.io',
version: 'v2',
token: null
token: userConfig.data ? userConfig.data.apiKey : null
})
}

Expand Down

0 comments on commit c494258

Please sign in to comment.