fix error
This commit is contained in:
parent
ab9f85467e
commit
45d2a392e3
|
@ -171,6 +171,7 @@ class BulletinFeed
|
||||||
"tags" => tag_names,
|
"tags" => tag_names,
|
||||||
"categories" => category_titles
|
"categories" => category_titles
|
||||||
}.to_json
|
}.to_json
|
||||||
|
BulletinFeedCache.where(uid: uid,start: startdt,end: enddt,date: dt).destroy
|
||||||
feed_cache = BulletinFeedCache.create(uid: uid,content: anns,start: startdt,end: enddt,date: dt,invalid_date: invalid_date)
|
feed_cache = BulletinFeedCache.create(uid: uid,content: anns,start: startdt,end: enddt,date: dt,invalid_date: invalid_date)
|
||||||
end
|
end
|
||||||
def self.smart_convertor(text,url)
|
def self.smart_convertor(text,url)
|
||||||
|
|
Loading…
Reference in New Issue