Skip to content

Commit

Permalink
rm any type
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Nov 29, 2023
1 parent 8afaa66 commit 53d8295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bitcore-node/src/routes/api/fee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 53d8295

Please sign in to comment.