Skip to content

Commit

Permalink
fix deleteTransactionKms revert param fixes tatumio#161
Browse files Browse the repository at this point in the history
  • Loading branch information
jirijanecek777 committed Sep 23, 2021
1 parent ef8d910 commit 83ea3b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "1.26.1",
"version": "1.26.2",
"description": "Tatum API client allows browsers and Node.js clients to interact with Tatum API.",
"main": "dist/src/index.js",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
2 changes: 1 addition & 1 deletion src/security/kms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const getTransactionKMS = async (id: string): Promise<TransactionKMS> =>
/**
* For more details, see <a href="https://tatum.io/apidoc#operation/DeletePendingTransactionToSign" target="_blank">Tatum API documentation</a>
*/
export const deleteTransactionKMS = async (id: string, revert = true): Promise<void> => httpDelete(`/v3/kms/${id}/${revert}`)
export const deleteTransactionKMS = async (id: string, revert = true): Promise<void> => httpDelete(`/v3/kms/${id}?revert=${revert}`)

/**
* For more details, see <a href="https://tatum.io/apidoc#operation/CompletePendingSignature" target="_blank">Tatum API documentation</a>
Expand Down

0 comments on commit 83ea3b4

Please sign in to comment.