parse coin param on /v2/feelevels/

This commit is contained in:
Ivan Socolsky 2017-08-27 20:54:43 -03:00
parent 5fbb262ace
commit 371d315138
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with 2 additions and 0 deletions

View File

@ -453,7 +453,9 @@ ExpressApp.prototype.start = function(opts, cb) {
router.get('/v2/feelevels/', function(req, res) {
var opts = {};
if (req.query.coin) opts.coin = req.query.coin;
if (req.query.network) opts.network = req.query.network;
var server;
try {
server = getServer(req, res);