diff --git a/modules/express/src/clientRoutes.ts b/modules/express/src/clientRoutes.ts index f4383e6413..e94efcb662 100755 --- a/modules/express/src/clientRoutes.ts +++ b/modules/express/src/clientRoutes.ts @@ -971,7 +971,7 @@ async function handleV2SendOne(req: ExpressApiRouteRequest<'express.wallet.sendc * handle send many * @param req */ -async function handleV2SendMany(req: ExpressApiRouteRequest<'express.v2.wallet.sendmany', 'post'>) { +async function handleV2SendMany(req: ExpressApiRouteRequest<'express.wallet.sendmany', 'post'>) { const bitgo = req.bitgo; const coin = bitgo.coin(req.decoded.coin); const reqId = new RequestTracer(); @@ -1781,7 +1781,7 @@ export function setupAPIRoutes(app: express.Application, config: Config): void { // send transaction router.post('express.wallet.sendcoins', [prepareBitGo(config), typedPromiseWrapper(handleV2SendOne)]); - router.post('express.v2.wallet.sendmany', [prepareBitGo(config), typedPromiseWrapper(handleV2SendMany)]); + router.post('express.wallet.sendmany', [prepareBitGo(config), typedPromiseWrapper(handleV2SendMany)]); router.post('express.v2.wallet.prebuildandsigntransaction', [ prepareBitGo(config), typedPromiseWrapper(handleV2PrebuildAndSignTransaction), diff --git a/modules/express/src/typedRoutes/api/index.ts b/modules/express/src/typedRoutes/api/index.ts index 1bbc6df891..648082cdc8 100644 --- a/modules/express/src/typedRoutes/api/index.ts +++ b/modules/express/src/typedRoutes/api/index.ts @@ -197,7 +197,7 @@ export const ExpressV2WalletIsWalletAddressApiSpec = apiSpec({ }); export const ExpressV2WalletSendManyApiSpec = apiSpec({ - 'express.v2.wallet.sendmany': { + 'express.wallet.sendmany': { post: PostSendMany, }, }); diff --git a/modules/express/src/typedRoutes/api/v2/sendmany.ts b/modules/express/src/typedRoutes/api/v2/sendmany.ts index 7911b87269..c6423586ac 100644 --- a/modules/express/src/typedRoutes/api/v2/sendmany.ts +++ b/modules/express/src/typedRoutes/api/v2/sendmany.ts @@ -787,7 +787,7 @@ export const SendManyResponse = t.intersection([ * * Works with most BitGo-supported assets, but currently unavailable for: ALGO, ARBETH, AVAXC, CELO, CELO:CUSD, CSPR, DOT, EOS, HTETH:BGERCH, NEAR, OPETH, STX, TON, TRX, TRX:USDC, XLM, XRP, XTZ * - * @operationId express.v2.wallet.sendmany + * @operationId express.wallet.sendmany * @tag Express */ export const PostSendMany = httpRoute({