Skip to content

Commit 58d2811

Browse files
authored
Merge pull request #5836 from BitGo/BTC-0-express-update
refactor: add express prefix to update wallet route
2 parents ae7647f + 0f5aab8 commit 58d2811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/express/src/clientRoutes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ export function setupAPIRoutes(app: express.Application, config: Config): void {
15751575
// generate wallet
15761576
app.post('/api/v2/:coin/wallet/generate', parseBody, prepareBitGo(config), promiseWrapper(handleV2GenerateWallet));
15771577

1578-
app.put('/api/v2/:coin/wallet/:id', parseBody, prepareBitGo(config), promiseWrapper(handleWalletUpdate));
1578+
app.put('/express/api/v2/:coin/wallet/:id', parseBody, prepareBitGo(config), promiseWrapper(handleWalletUpdate));
15791579

15801580
// create address
15811581
app.post('/api/v2/:coin/wallet/:id/address', parseBody, prepareBitGo(config), promiseWrapper(handleV2CreateAddress));

0 commit comments

Comments
 (0)