Skip to content

Commit

Permalink
v1 prefix to endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
skfb committed Oct 10, 2024
1 parent 2f8cec2 commit 86e5b70
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 @@ -2278,14 +2278,14 @@ export class FireblocksSDK {
* Get assigned VASP Did for a specific vault. Returns empty string vaspDid value in response if none assigned.
*/
public async getVaspForVault(vaultAccountId: number): Promise<TravelRuleVaspForVaultRequestResponse> {
return await this.apiClient.issueGetRequest(`/screening/travel_rule/vault/${vaultAccountId.toString()}/vasp`);
return await this.apiClient.issueGetRequest(`/v1/screening/travel_rule/vault/${vaultAccountId.toString()}/vasp`);
}

/**
* Sets the VASP Did for a specific vault. Pass empty string to remove existing one.
*/
public async setVaspForVault(vaultAccountId: number, vaspDid: string): Promise<TravelRuleVaspForVaultRequestResponse> {
return await this.apiClient.issuePostRequest(`/screening/travel_rule/vault/${vaultAccountId.toString()}/vasp`, {
return await this.apiClient.issuePostRequest(`/v1/screening/travel_rule/vault/${vaultAccountId.toString()}/vasp`, {
vaspDid
});
}
Expand Down

0 comments on commit 86e5b70

Please sign in to comment.