This commit is contained in:
邱博亞 2022-12-07 12:04:47 +08:00
parent 00351ff2af
commit 9fe3391543
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ module FeedModel
unless @skip_callback
if self.class == Category
Thread.new do
SiteFeedAnnc.where(merge_with_category: self.id.to_s).each do |site_feed_annc|
recreate_annc_cache(site_feed_annc)
SiteFeed.where(merge_with_category: self.id.to_s).each do |site_feed|
recreate_annc_cache(site_feed)
end
end
elsif self.class == SiteFeed