change `Repo.get(User, id)` => `User.get_by_id(id)`
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:01:26 +0000 (17:01 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 2 Apr 2019 10:01:26 +0000 (17:01 +0700)
commit1b3d92192194baf6b431cd9f0ce58062d1b703d5
tree2f81ff81c7b039ccbb482e5212af554a8982ac40
parent4212527928020de5b67424f090c67fc20d0844af
change `Repo.get(User, id)` => `User.get_by_id(id)`
23 files changed:
lib/mix/tasks/pleroma/user.ex
lib/pleroma/PasswordResetToken.ex
lib/pleroma/list.ex
lib/pleroma/user.ex
lib/pleroma/web/channels/user_socket.ex
lib/pleroma/web/common_api/utils.ex
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/websocket_handler.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/oauth/token.ex
lib/pleroma/web/streamer.ex
lib/pleroma/web/twitter_api/controllers/util_controller.ex
lib/pleroma/web/twitter_api/twitter_api_controller.ex
test/user_test.exs
test/web/activity_pub/activity_pub_controller_test.exs
test/web/activity_pub/activity_pub_test.exs
test/web/activity_pub/transmogrifier_test.exs
test/web/admin_api/admin_api_controller_test.exs
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/mastodon_api/notification_view_test.exs
test/web/ostatus/ostatus_test.exs
test/web/twitter_api/twitter_api_controller_test.exs
test/web/twitter_api/views/user_view_test.exs