Skip to content

Commit

Permalink
fix: typo in readme for configure client code in ask-smapi-sdk (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyancharuk committed Jul 9, 2020
1 parent 63e05cd commit 10cf6d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ask-smapi-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ Using the `Client ID`, `Client Secret` and `Refresh Token` retrieved in the prev
```js
const Alexa = require('ask-smapi-sdk');

// specify the refreshTokenConfig with clientId, clientSecrect and refreshToken generated in the previous step
// specify the refreshTokenConfig with clientId, clientSecret and refreshToken generated in the previous step
const refreshTokenConfig = {
clientId,
clientSecrect,
clientSecret,
refreshToken
}
const smapiClient = new Alexa.StandardSmapiClientBuilder()
Expand All @@ -59,10 +59,10 @@ const smapiClient = new Alexa.StandardSmapiClientBuilder()
```ts
import * as Alexa from 'ask-smapi-sdk';

// specify the refreshTokenConfig with clientId, clientSecrect and refreshToken generated in the previous step
// specify the refreshTokenConfig with clientId, clientSecret and refreshToken generated in the previous step
const refreshTokenConfig : Alexa.RefreshTokenConfig = {
clientId,
clientSecrect,
clientSecret,
refreshToken
}
const smapiClient = new Alexa.StandardSmapiClientBuilder()
Expand Down

0 comments on commit 10cf6d6

Please sign in to comment.