Improve code style
This commit is contained in:
parent
e4aebad35a
commit
927333f4f8
41 changed files with 126 additions and 122 deletions
|
@ -12,7 +12,7 @@ class ProcessMentionsService < BaseService
|
|||
|
||||
if mentioned_account.nil? && !domain.nil?
|
||||
begin
|
||||
mentioned_account = follow_remote_account_service.("#{match.first}")
|
||||
mentioned_account = follow_remote_account_service.call(match.first.to_s)
|
||||
rescue Goldfinger::Error, HTTP::Error
|
||||
mentioned_account = nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue