replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:47:02 +0000 (17:47 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:47:02 +0000 (17:47 +0700)
commit88d3cb44c3adc234ee828a8b50bc0c3857eb85a9
treec43e9c0d4d53d48523abbec164778286ab21711d
parent11c2d6bdc458d40616e677ff71e471bd827344ee
replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)`
lib/pleroma/plugs/user_fetcher_plug.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/twitter_api/twitter_api.ex