parse coin param on /v2/feelevels/
This commit is contained in:
parent
5fbb262ace
commit
371d315138
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue