Skip to content

Commit ee2a8e1

Browse files
committed
fix: cache time
1 parent b7c2881 commit ee2a8e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/controllers/sdex/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ router.get(
6060

6161
return maybeCacheResponse(
6262
res,
63-
`!sdex/user_pool_positions/${chainId}/${user}/${base}/${quote}/${poolIdx}`,
63+
`sdex/user_pool_positions/${chainId}/${user}/${base}/${quote}/${poolIdx}`,
6464
async () => {
6565
const liquidity = await req.app.locals.network.sdex.getUpdatedLiquidity(user, base, quote, poolIdx);
6666
return {
6767
liquidity,
6868
};
6969
},
70-
5,
70+
DEFAULT_CACHE_TTL,
7171
).then((data) => res.json(toResponse(data.liquidity)));
7272
}),
7373
);

0 commit comments

Comments
 (0)