fix caching
This commit is contained in:
parent
e6c09a4897
commit
7eb314b02c
7 changed files with 79 additions and 85 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue