Skip to content

Commit c4b152f

Browse files
committed
chore: reset cache
1 parent dcd77a7 commit c4b152f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/legacy/cmc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ router.get(
2828
asyncRoute(async (req, res) =>
2929
maybeCacheResponse(
3030
res,
31-
`legacy/cmc/tvl/${req.app.locals.network.chainId}`,
31+
`legacy/cmc/tvl/${req.app.locals.network.name}`,
3232
async () => prepareTvlEndpoint(req.app.locals.network),
3333
LONG_CACHE_TTL,
3434
).then((data) => res.json(toResponse(data))),
@@ -40,7 +40,7 @@ router.get(
4040
asyncRoute(async (req, res) =>
4141
maybeCacheResponse(
4242
res,
43-
'legacy/cmc/tvl',
43+
'legacy/cmc/tvl/summary',
4444
async () => prepareTvlSummaryEndpoint(networks.listChains()),
4545
LONG_CACHE_TTL,
4646
).then((data) => res.json(toResponse(data))),

0 commit comments

Comments
 (0)