Skip to content

Commit 0aaa74a

Browse files
Merge pull request #8548 from BitGo/WCI-49_operationId
docs(express): updated operationId for walletTxSignTss V2
2 parents a63896b + a39e22f commit 0aaa74a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

modules/express/src/clientRoutes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export async function handleV2GenerateShareTSS(
503503
}
504504
}
505505

506-
export async function handleV2SignTSSWalletTx(req: ExpressApiRouteRequest<'express.v2.wallet.signtxtss', 'post'>) {
506+
export async function handleV2SignTSSWalletTx(req: ExpressApiRouteRequest<'express.wallet.signtxtss', 'post'>) {
507507
const bitgo = req.bitgo;
508508
const coin = bitgo.coin(req.decoded.coin);
509509
const wallet = await coin.wallets().get({ id: req.decoded.id });
@@ -1786,7 +1786,7 @@ export function setupAPIRoutes(app: express.Application, config: Config): void {
17861786
// sign transaction
17871787
router.post('express.signtx', [prepareBitGo(config), typedPromiseWrapper(handleV2SignTx)]);
17881788
router.post('express.v2.wallet.signtx', [prepareBitGo(config), typedPromiseWrapper(handleV2SignTxWallet)]);
1789-
router.post('express.v2.wallet.signtxtss', [prepareBitGo(config), typedPromiseWrapper(handleV2SignTSSWalletTx)]);
1789+
router.post('express.wallet.signtxtss', [prepareBitGo(config), typedPromiseWrapper(handleV2SignTSSWalletTx)]);
17901790
router.post('express.wallet.recovertoken', [prepareBitGo(config), typedPromiseWrapper(handleV2RecoverToken)]);
17911791

17921792
// send transaction

modules/express/src/typedRoutes/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const ExpressWalletSigningApiSpec = apiSpec({
291291
'express.v2.wallet.signtx': {
292292
post: PostWalletSignTx,
293293
},
294-
'express.v2.wallet.signtxtss': {
294+
'express.wallet.signtxtss': {
295295
post: PostWalletTxSignTSS,
296296
},
297297
});

modules/express/src/typedRoutes/api/v2/walletTxSignTSS.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const WalletTxSignTSSResponse = {
141141
/**
142142
* Sign transactions for MPC wallets. If using external-signer mode, you must maintain your keys, in the clear, on a separate Express server - BitGo doesn't decrypt your private MPC key shares.
143143
*
144-
* @operationId express.v2.wallet.signtxtss
144+
* @operationId express.wallet.signtxtss
145145
* @tag Express
146146
*/
147147
export const PostWalletTxSignTSS: HttpRoute<'post'> = httpRoute({

0 commit comments

Comments
 (0)