Skip to content

Commit

Permalink
docs: fix errors in sample code in api reference
Browse files Browse the repository at this point in the history
  • Loading branch information
erase2004 authored and enylin committed Jun 9, 2022
1 parent cc6f851 commit ddb2338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/api-reference/check-payment-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ Code | Description
```ts
const res = await linePayClient.checkPaymentStatus
.send({
params: {
transactionId: '2021121600698709510'
}
transactionId: '2021121600698709510',
params: {}
})
```

Expand Down
5 changes: 2 additions & 3 deletions docs/api-reference/check-regkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ Code | Description
```ts
const res = await linePayClient.checkRegKey
.send({
params: {
regKey: 'RK9A2BA1942EQTO'
}
regKey: 'RK9A2BA1942EQTO',
params: {}
})
```

Expand Down

0 comments on commit ddb2338

Please sign in to comment.