Skip to content

Commit b77ee99

Browse files
authored
Merge pull request #7557 from BitGo/WP-5437-refactor-handler
refactor(express): pendingApprovalV2 handler return type
2 parents cb6df0f + 50e3714 commit b77ee99

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/express/src/clientRoutes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,7 @@ export async function handleV2CreateAddress(req: ExpressApiRouteRequest<'express
664664
* handle v2 approve transaction
665665
* @param req
666666
*/
667-
async function handleV2PendingApproval(
668-
req: ExpressApiRouteRequest<'express.v2.pendingapprovals', 'put'>
669-
): Promise<any> {
667+
async function handleV2PendingApproval(req: ExpressApiRouteRequest<'express.v2.pendingapprovals', 'put'>) {
670668
const bitgo = req.bitgo;
671669
const coin = bitgo.coin(req.decoded.coin);
672670
const params = req.body || {};

0 commit comments

Comments
 (0)