fix(mpc-service): add /api/v1 prefix to blockchain-service calls

blockchain-service uses global API prefix, need to include it in URLs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-07 02:11:57 -08:00
parent 845dd857b0
commit 84e653d284
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export class BlockchainClientService {
try {
const response = await firstValueFrom(
this.httpService.post<DeriveAddressResult>(
`${this.blockchainServiceUrl}/internal/derive-address`,
`${this.blockchainServiceUrl}/api/v1/internal/derive-address`,
{
userId: params.userId,
publicKey: params.publicKey,
@ -86,7 +86,7 @@ export class BlockchainClientService {
try {
const response = await firstValueFrom(
this.httpService.get<{ userId: string; addresses: DerivedAddress[] }>(
`${this.blockchainServiceUrl}/internal/user/${userId}/addresses`,
`${this.blockchainServiceUrl}/api/v1/internal/user/${userId}/addresses`,
{
timeout: 30000,
},