]> cat aescling's git repositories - mastodon.git/commit
Add remove from followers api (#16864)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Mon, 18 Oct 2021 10:02:35 +0000 (19:02 +0900)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 10:02:35 +0000 (12:02 +0200)
commit17f4e457b3a909522a230fd1f1f8f737e3faad87
treea43668d4509e3e0ba9d0b0e17ea548a3901eb07e
parent766a361b86f8c8212c08d3bae1d4728c3c5b1f09
Add remove from followers api (#16864)

* Add followed_by? to account_interactions

* Add RemoveFromFollowersService

* Fix AccountBatch to use RemoveFromFollowersService

* Add remove from followers API
app/controllers/api/v1/accounts_controller.rb
app/models/concerns/account_interactions.rb
app/models/form/account_batch.rb
app/services/remove_from_followers_service.rb [new file with mode: 0644]
config/routes.rb
spec/controllers/api/v1/accounts_controller_spec.rb
spec/models/concerns/account_interactions_spec.rb
spec/services/remove_from_follwers_service_spec.rb [new file with mode: 0644]