Fix bug on entry_cover_url_cache

This commit is contained in:
Leeingnyo 2021-09-06 02:29:31 +09:00
parent 565a535d22
commit 9807db6ac0

View File

@ -259,6 +259,7 @@ class Title
def set_cover_url(entry_name : String, url : String)
TitleInfo.new @dir do |info|
info.entry_cover_url[entry_name] = url
@entry_cover_url_cache = info.entry_cover_url
info.save
end
end