Skip to content

Commit c671cfe

Browse files
authored
Merge pull request #8500 from BitGo/WCI-91-sendy-many-v2
docs(express): updated operationId for sendmany V2
2 parents bd85b6e + a0676f4 commit c671cfe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

modules/express/src/clientRoutes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ async function handleV2SendOne(req: ExpressApiRouteRequest<'express.wallet.sendc
971971
* handle send many
972972
* @param req
973973
*/
974-
async function handleV2SendMany(req: ExpressApiRouteRequest<'express.v2.wallet.sendmany', 'post'>) {
974+
async function handleV2SendMany(req: ExpressApiRouteRequest<'express.wallet.sendmany', 'post'>) {
975975
const bitgo = req.bitgo;
976976
const coin = bitgo.coin(req.decoded.coin);
977977
const reqId = new RequestTracer();
@@ -1778,7 +1778,7 @@ export function setupAPIRoutes(app: express.Application, config: Config): void {
17781778

17791779
// send transaction
17801780
router.post('express.wallet.sendcoins', [prepareBitGo(config), typedPromiseWrapper(handleV2SendOne)]);
1781-
router.post('express.v2.wallet.sendmany', [prepareBitGo(config), typedPromiseWrapper(handleV2SendMany)]);
1781+
router.post('express.wallet.sendmany', [prepareBitGo(config), typedPromiseWrapper(handleV2SendMany)]);
17821782
router.post('express.v2.wallet.prebuildandsigntransaction', [
17831783
prepareBitGo(config),
17841784
typedPromiseWrapper(handleV2PrebuildAndSignTransaction),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const ExpressV2WalletIsWalletAddressApiSpec = apiSpec({
197197
});
198198

199199
export const ExpressV2WalletSendManyApiSpec = apiSpec({
200-
'express.v2.wallet.sendmany': {
200+
'express.wallet.sendmany': {
201201
post: PostSendMany,
202202
},
203203
});

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ export const SendManyResponse = t.intersection([
787787
*
788788
* 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
789789
*
790-
* @operationId express.v2.wallet.sendmany
790+
* @operationId express.wallet.sendmany
791791
* @tag Express
792792
*/
793793
export const PostSendMany = httpRoute({

0 commit comments

Comments
 (0)