Skip to content

Commit 4c9592f

Browse files
Apply suggestions from code review
Co-authored-by: Jiří Moravčík <[email protected]>
1 parent 92948ed commit 4c9592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/user-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const userCache = new TTLLRUCache<User>(USER_CACHE_MAX_SIZE, USER_CACHE_TTL_SECS
1414
* Token is hashed before caching to avoid storing raw tokens
1515
* Returns the full User object from API or null if not found
1616
*/
17-
export async function getUserIdFromToken(
17+
export async function getUserInfoFromTokenCached(
1818
token: string,
1919
apifyClient: ApifyClient,
2020
): Promise<User | null> {

0 commit comments

Comments
 (0)