Improve code style
This commit is contained in:
parent
e4aebad35a
commit
927333f4f8
41 changed files with 126 additions and 122 deletions
|
@ -3,7 +3,7 @@ class ThreadResolveWorker
|
|||
|
||||
def perform(child_status_id, parent_url)
|
||||
child_status = Status.find(child_status_id)
|
||||
parent_status = FetchRemoteStatusService.new.(parent_url)
|
||||
parent_status = FetchRemoteStatusService.new.call(parent_url)
|
||||
|
||||
unless parent_status.nil?
|
||||
child_status.thread = parent_status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue