diff --git a/modules/express/src/clientRoutes.ts b/modules/express/src/clientRoutes.ts index ff0c454456..c6f30cf25b 100755 --- a/modules/express/src/clientRoutes.ts +++ b/modules/express/src/clientRoutes.ts @@ -930,7 +930,7 @@ function createTSSSendParams(req: express.Request, wallet: Wallet) { * handle send one * @param req */ -async function handleV2SendOne(req: ExpressApiRouteRequest<'express.v2.wallet.sendcoins', 'post'>) { +async function handleV2SendOne(req: ExpressApiRouteRequest<'express.wallet.sendcoins', 'post'>) { const bitgo = req.bitgo; const coin = bitgo.coin(req.decoded.coin); const reqId = new RequestTracer(); @@ -1780,7 +1780,7 @@ export function setupAPIRoutes(app: express.Application, config: Config): void { router.post('express.v2.wallet.recovertoken', [prepareBitGo(config), typedPromiseWrapper(handleV2RecoverToken)]); // send transaction - router.post('express.v2.wallet.sendcoins', [prepareBitGo(config), typedPromiseWrapper(handleV2SendOne)]); + router.post('express.wallet.sendcoins', [prepareBitGo(config), typedPromiseWrapper(handleV2SendOne)]); router.post('express.v2.wallet.sendmany', [prepareBitGo(config), typedPromiseWrapper(handleV2SendMany)]); router.post('express.v2.wallet.prebuildandsigntransaction', [ prepareBitGo(config), diff --git a/modules/express/src/typedRoutes/api/index.ts b/modules/express/src/typedRoutes/api/index.ts index 24aed10b50..dd2dc3e81a 100644 --- a/modules/express/src/typedRoutes/api/index.ts +++ b/modules/express/src/typedRoutes/api/index.ts @@ -203,7 +203,7 @@ export const ExpressV2WalletSendManyApiSpec = apiSpec({ }); export const ExpressV2WalletSendCoinsApiSpec = apiSpec({ - 'express.v2.wallet.sendcoins': { + 'express.wallet.sendcoins': { post: PostSendCoins, }, }); diff --git a/modules/express/src/typedRoutes/api/v2/sendCoins.ts b/modules/express/src/typedRoutes/api/v2/sendCoins.ts index b31b6227fb..d92167b44a 100644 --- a/modules/express/src/typedRoutes/api/v2/sendCoins.ts +++ b/modules/express/src/typedRoutes/api/v2/sendCoins.ts @@ -409,7 +409,7 @@ export const SendCoinsRequestBody = { /** * This call allows you to create and send cryptocurrency to a destination address. * - * @operationId express.v2.wallet.sendcoins + * @operationId express.wallet.sendcoins * @tag express */ export const PostSendCoins = httpRoute({