no more ttl

This commit is contained in:
Barrett Ruth 2025-09-24 20:46:43 -04:00
parent 71b827fe95
commit 170021af8e
2 changed files with 1 additions and 7 deletions

View file

@ -266,12 +266,7 @@ function M.get_contest_list(platform)
return nil
end
local contest_list_data = cache_data.contest_lists[platform]
if os.time() >= contest_list_data.expires_at then
return nil
end
return contest_list_data.contests
return cache_data.contest_lists[platform].contests
end
---@param platform string