Browse Source

Merge pull request #568 from isocolsky/fix/404

Fix 404 on POST v1/txproposals
activeAddress
Matias Alejo Garcia 9 years ago
committed by GitHub
parent
commit
015f03d344
  1. 6
      lib/expressapp.js

6
lib/expressapp.js

@ -289,6 +289,12 @@ ExpressApp.prototype.start = function(opts, cb) {
});
});
router.post('/v1/txproposals/', function(req, res) {
var Errors = require('./errors/errordefinitions');
var err = Errors.UPGRADE_NEEDED;
return returnError(err, res, req);
});
router.post('/v2/txproposals/', function(req, res) {
getServerWithAuth(req, res, function(server) {
server.createTx(req.body, function(err, txp) {

Loading…
Cancel
Save