replace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:47:52 +0000 (17:47 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:47:52 +0000 (17:47 +0700)
commit9a59c26619bada93e238f52e9432a93e54c04b5e
treeafe2b38bd65a6fded0178500dbd899d92f1fce16
parent88d3cb44c3adc234ee828a8b50bc0c3857eb85a9
replace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`
test/web/activity_pub/activity_pub_test.exs
test/web/mastodon_api/status_view_test.exs
test/web/salmon/salmon_test.exs
test/web/twitter_api/twitter_api_controller_test.exs