fix: remove unused function

This commit is contained in:
Barrett Ruth 2025-10-02 13:56:38 -04:00
parent 2809689494
commit 057b0890c2
3 changed files with 23 additions and 48 deletions

View file

@ -49,13 +49,13 @@ function M.get_platform_contests(platform, refresh)
cache.load()
local picker_contests = cache.get_contest_list(platform)
local picker_contests = cache.get_contest_summaries(platform)
if refresh or vim.tbl_isempty(picker_contests) then
logger.log(('Cache miss on %s contests'):format(platform))
local contests = scraper.scrape_contest_list(platform)
cache.set_contest_list(platform, contests)
cache.set_contest_summaries(platform, contests)
end
logger.log(
@ -64,7 +64,7 @@ function M.get_platform_contests(platform, refresh)
true
)
picker_contests = cache.get_contest_list(platform)
picker_contests = cache.get_contest_summaries(platform)
return picker_contests
end