Skip to content

Commit

Permalink
fix(auth): fixes key in service account auth
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefedelrodeodeljefe committed Jan 15, 2019
1 parent e46659e commit d8b487c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1/auth.ts
Expand Up @@ -53,7 +53,7 @@ export class Auth extends v0.Auth {
try {
const response = await axios.post(`${this.options.base}/api/v1/users/auth/key`, {
id: authData.id,
apiKey: authData.apiKey
api_key: authData.apiKey
})

this.setDefaultHeader(
Expand Down

0 comments on commit d8b487c

Please sign in to comment.