From 86e5b708af0a6d257d71f15c2b9da2ef352fe193 Mon Sep 17 00:00:00 2001 From: Stevan Koprivica Date: Thu, 10 Oct 2024 12:37:24 +0200 Subject: [PATCH] v1 prefix to endpoints --- src/fireblocks-sdk.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fireblocks-sdk.ts b/src/fireblocks-sdk.ts index 3feff0af..7bca2d4d 100644 --- a/src/fireblocks-sdk.ts +++ b/src/fireblocks-sdk.ts @@ -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 { - 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 { - 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 }); }