Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/express/src/clientRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion modules/express/src/typedRoutes/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const ExpressV2WalletSendManyApiSpec = apiSpec({
});

export const ExpressV2WalletSendCoinsApiSpec = apiSpec({
'express.v2.wallet.sendcoins': {
'express.wallet.sendcoins': {
post: PostSendCoins,
},
});
Expand Down
2 changes: 1 addition & 1 deletion modules/express/src/typedRoutes/api/v2/sendCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
Loading