fix caching

This commit is contained in:
Barrett Ruth 2025-10-01 20:21:11 -04:00
parent e6c09a4897
commit 7eb314b02c
7 changed files with 79 additions and 85 deletions

View file

@ -87,7 +87,7 @@ function M.get_contest_data(platform, contest_id)
end
local contest_data = cache_data[platform][contest_id]
if not contest_data then
if not contest_data or vim.tbl_isempty(contest_data) then
return nil
end