Skip to content

Commit 10cf6d6

Browse files
authored
fix: typo in readme for configure client code in ask-smapi-sdk (#631)
1 parent 63e05cd commit 10cf6d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ask-smapi-sdk/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Using the `Client ID`, `Client Secret` and `Refresh Token` retrieved in the prev
4444
```js
4545
const Alexa = require('ask-smapi-sdk');
4646

47-
// specify the refreshTokenConfig with clientId, clientSecrect and refreshToken generated in the previous step
47+
// specify the refreshTokenConfig with clientId, clientSecret and refreshToken generated in the previous step
4848
const refreshTokenConfig = {
4949
clientId,
50-
clientSecrect,
50+
clientSecret,
5151
refreshToken
5252
}
5353
const smapiClient = new Alexa.StandardSmapiClientBuilder()
@@ -59,10 +59,10 @@ const smapiClient = new Alexa.StandardSmapiClientBuilder()
5959
```ts
6060
import * as Alexa from 'ask-smapi-sdk';
6161

62-
// specify the refreshTokenConfig with clientId, clientSecrect and refreshToken generated in the previous step
62+
// specify the refreshTokenConfig with clientId, clientSecret and refreshToken generated in the previous step
6363
const refreshTokenConfig : Alexa.RefreshTokenConfig = {
6464
clientId,
65-
clientSecrect,
65+
clientSecret,
6666
refreshToken
6767
}
6868
const smapiClient = new Alexa.StandardSmapiClientBuilder()

0 commit comments

Comments
 (0)