Skip to content

Commit

Permalink
COR-10778 add idempotency
Browse files Browse the repository at this point in the history
  • Loading branch information
amirlevy committed Jan 3, 2022
1 parent 3e31ee8 commit a212e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fireblocks-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export class FireblocksSDK {
* @param vaultAccountId The vault account ID
* @param assetId The ID of the asset to get
*/
public async refreshVaultAssetBalance(vaultAccountId: string, assetId: string): Promise<AssetResponse> {
return await this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`, "{}");
public async refreshVaultAssetBalance(vaultAccountId: string, assetId: string, requestOptions?: RequestOptions): Promise<AssetResponse> {
return await this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`, "{}", requestOptions);
}

/**
Expand Down

0 comments on commit a212e4c

Please sign in to comment.