Skip to content

Commit

Permalink
fix route matching for v2 api wallet creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore3 committed Sep 18, 2017
1 parent 27ecfae commit 675e112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ v2API.use(parseOptions({
}))

v2API.all(
/\/create|\/create_wallet/,
['/create', '/create_wallet'],
required(['password', 'api_code']),
function (req, res) {
var apiAction = api.createWallet(req.options)
Expand Down

0 comments on commit 675e112

Please sign in to comment.