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 @@ -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();
Expand Down Expand Up @@ -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),
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 @@ -197,7 +197,7 @@ export const ExpressV2WalletIsWalletAddressApiSpec = apiSpec({
});

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