parent
33513753b9
commit
f890d2a766
5 changed files with 8 additions and 6 deletions
|
@ -17,7 +17,7 @@ class ResolveURLService < BaseService
|
|||
|
||||
def process_url
|
||||
case type
|
||||
when 'Person'
|
||||
when 'Application', 'Group', 'Organization', 'Person', 'Service'
|
||||
FetchRemoteAccountService.new.call(atom_url, body, protocol)
|
||||
when 'Note', 'Article', 'Image', 'Video'
|
||||
FetchRemoteStatusService.new.call(atom_url, body, protocol)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue