AccountController: Use code 400 for self-follow.
authorlain <lain@soykaf.club>
Wed, 22 Apr 2020 13:04:26 +0000 (15:04 +0200)
committerlain <lain@soykaf.club>
Wed, 22 Apr 2020 13:04:26 +0000 (15:04 +0200)
commit5b3952619818d38f8fdba9a64b050ce3f24394ff
treee2c574d22927742a9134f5610d0b9542b66583a7
parent69ecc3903800685e87eb11cd6063b525aa968316
AccountController: Use code 400 for self-follow.
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
test/web/mastodon_api/controllers/account_controller_test.exs