From af47416ff8b1699f401fe469b8794d65484b34ba Mon Sep 17 00:00:00 2001 From: Yash Joshi Date: Fri, 22 Aug 2025 14:13:41 -0400 Subject: [PATCH] fix: fix wallet proofs class url (change wallet to wallets) BTC-2404 --- modules/sdk-core/src/bitgo/proofs/WalletProofs.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/sdk-core/src/bitgo/proofs/WalletProofs.ts b/modules/sdk-core/src/bitgo/proofs/WalletProofs.ts index e013d3f5ff..b008b58a60 100644 --- a/modules/sdk-core/src/bitgo/proofs/WalletProofs.ts +++ b/modules/sdk-core/src/bitgo/proofs/WalletProofs.ts @@ -17,9 +17,8 @@ export class WalletProofs { async getLiabilityProofs(): Promise { const reqId = new RequestTracer(); this.wallet.bitgo.setRequestTracer(reqId); - return (await this.wallet.bitgo - .get(this.wallet.bitgo.url('/proofs-service/wallet/' + this.wallet.id() + '/liability-proofs')) + .get(this.wallet.bitgo.url('/proofs-service/wallets/' + this.wallet.id() + '/liability-proofs')) .send() .result()) as UserVerificationElements; } @@ -34,7 +33,7 @@ export class WalletProofs { this.wallet.bitgo.setRequestTracer(reqId); return (await this.wallet.bitgo - .get(this.wallet.bitgo.url('/proofs-service/wallet/' + this.wallet.id() + '/account-snapshot')) + .get(this.wallet.bitgo.url('/proofs-service/wallets/' + this.wallet.id() + '/account-snapshot')) .send() .result()) as AccountSnapshot; }