Skip to content

Commit c494258

Browse files
author
Brandon Satrom
committed
bug:set user token correctly
1 parent af16a3a commit c494258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/common/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (userConfig.data && userConfig.data.api_uri) {
3131
protocol: 'https',
3232
hostname: 'api.xervo.io',
3333
version: 'v2',
34-
token: null
34+
token: userConfig.data ? userConfig.data.apiKey : null
3535
})
3636
}
3737

0 commit comments

Comments
 (0)