Refactoring Grape API methods into normal controllers & other things
This commit is contained in:
parent
11ff92c9d7
commit
0e8f59c16f
63 changed files with 336 additions and 406 deletions
|
@ -9,7 +9,7 @@ class FollowService < BaseService
|
|||
|
||||
follow = source_account.follow!(target_account)
|
||||
send_interaction_service.(follow.stream_entry, target_account)
|
||||
source_account.ping!(atom_user_stream_url(id: source_account.id), [HUB_URL])
|
||||
source_account.ping!(account_url(account, format: 'atom'), [HUB_URL])
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue