diff --git a/packages/bitcore-node/src/routes/api/fee.ts b/packages/bitcore-node/src/routes/api/fee.ts index 73367dc2864..d53400a827d 100644 --- a/packages/bitcore-node/src/routes/api/fee.ts +++ b/packages/bitcore-node/src/routes/api/fee.ts @@ -15,7 +15,7 @@ const feeModes = { router.get('/:target', CacheMiddleware(CacheTimes.Second), async (req: Request, res: Response) => { let { target, chain, network } = req.params; - let { mode } = req.query as any; + let { mode } = req.query; if (!chain || !network) { return res.status(400).send('Missing required param'); }