File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/pages/api/v1/aggregatedBalances Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ export default async function handler(
8888 clarityApiKey : null ,
8989 drepKey : null ,
9090 scriptType : null ,
91+ scriptCbor : "" , // Required field for DbWallet type
92+ verified : [ ] , // Required field for DbWallet type
9193 } ;
9294
9395 const mWallet = buildMultisigWallet ( walletData , networkNum ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default async function handler(
6464
6565 try {
6666 // Test endpoints by making actual HTTP requests to fetch real data
67- const baseUrl = req . headers . host ? `http:// ${ req . headers . host } ` : 'http://localhost:3000' ;
67+ const baseUrl = process . env . INTERNAL_BASE_URL || 'http://localhost:3000' ;
6868 const endpoints = {
6969 wallets : `${ baseUrl } /api/v1/aggregatedBalances/wallets` ,
7070 balance : `${ baseUrl } /api/v1/aggregatedBalances/balance` ,
You can’t perform that action at this time.
0 commit comments