Skip to content

Commit bd96647

Browse files
committed
feat(express): used req decoded params
Ticket: WP-5424
1 parent 33b2fee commit bd96647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/express/src/clientRoutes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ export async function handleV2GenerateShareTSS(req: express.Request): Promise<an
497497

498498
export async function handleV2SignTSSWalletTx(req: ExpressApiRouteRequest<'express.v2.wallet.signtxtss', 'post'>) {
499499
const bitgo = req.bitgo;
500-
const coin = bitgo.coin(req.params.coin);
501-
const wallet = await coin.wallets().get({ id: req.params.id });
500+
const coin = bitgo.coin(req.decoded.coin);
501+
const wallet = await coin.wallets().get({ id: req.decoded.id });
502502
try {
503503
return await wallet.signTransaction(createTSSSendParams(req, wallet));
504504
} catch (error) {

0 commit comments

Comments
 (0)