Update resolve_url_service.rb (#9188)

pull/9214/head
m.b 2018-11-05 18:54:07 +01:00 committed by Eugen Rochko
parent 4c03e05a4e
commit cd41c2c6ad
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class ResolveURLService < BaseService
def process_url def process_url
if equals_or_includes_any?(type, %w(Application Group Organization Person Service)) if equals_or_includes_any?(type, %w(Application Group Organization Person Service))
FetchRemoteAccountService.new.call(atom_url, body, protocol) FetchRemoteAccountService.new.call(atom_url, body, protocol)
elsif equals_or_includes_any?(type, %w(Note Article Image Video)) elsif equals_or_includes_any?(type, %w(Note Article Image Video Page))
FetchRemoteStatusService.new.call(atom_url, body, protocol) FetchRemoteStatusService.new.call(atom_url, body, protocol)
end end
end end