mirror of
https://github.com/wahyd4/libr-2.git
synced 2026-08-08 21:07:08 +10:00
initial the post processed value back to false.
This commit is contained in:
@@ -4,7 +4,7 @@ class ProcessPostWorker
|
||||
sidekiq_options queue: :post, retry: 3
|
||||
|
||||
def perform url
|
||||
post = Post.find_by url: url
|
||||
post = Post.unscoped.find_by url: url
|
||||
begin
|
||||
page = MetaInspector.new post.url
|
||||
post.title = page.title.try(:strip)
|
||||
|
||||
Reference in New Issue
Block a user