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:
parent
845dd857b0
commit
84e653d284
|
|
@ -51,7 +51,7 @@ export class BlockchainClientService {
|
||||||
try {
|
try {
|
||||||
const response = await firstValueFrom(
|
const response = await firstValueFrom(
|
||||||
this.httpService.post<DeriveAddressResult>(
|
this.httpService.post<DeriveAddressResult>(
|
||||||
`${this.blockchainServiceUrl}/internal/derive-address`,
|
`${this.blockchainServiceUrl}/api/v1/internal/derive-address`,
|
||||||
{
|
{
|
||||||
userId: params.userId,
|
userId: params.userId,
|
||||||
publicKey: params.publicKey,
|
publicKey: params.publicKey,
|
||||||
|
|
@ -86,7 +86,7 @@ export class BlockchainClientService {
|
||||||
try {
|
try {
|
||||||
const response = await firstValueFrom(
|
const response = await firstValueFrom(
|
||||||
this.httpService.get<{ userId: string; addresses: DerivedAddress[] }>(
|
this.httpService.get<{ userId: string; addresses: DerivedAddress[] }>(
|
||||||
`${this.blockchainServiceUrl}/internal/user/${userId}/addresses`,
|
`${this.blockchainServiceUrl}/api/v1/internal/user/${userId}/addresses`,
|
||||||
{
|
{
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue