Skip to content

Commit

Permalink
Update api/_utils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Dong-Ha Kim <[email protected]>
  • Loading branch information
gsteenkamp89 and dohaki authored Nov 15, 2024
1 parent 657d567 commit f5e256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2003,7 +2003,7 @@ const TTL_TOKEN_INFO = 30 * 24 * 60 * 60; // 30 days

function tokenInfoCache(params: TokenOptions) {
return makeCacheGetterAndSetter(
buildInternalCacheKey("tokenInfo", ...Object.values(params)),
buildInternalCacheKey("tokenInfo", params.address, params.chainId),
TTL_TOKEN_INFO,
() => getTokenInfo(params),
(tokenDetails) => tokenDetails
Expand Down

0 comments on commit f5e256a

Please sign in to comment.