Merge branch 'get_by_id' into 'develop'
authorlambda <lain@soykaf.club>
Tue, 2 Apr 2019 10:52:29 +0000 (10:52 +0000)
committerlambda <lain@soykaf.club>
Tue, 2 Apr 2019 10:52:29 +0000 (10:52 +0000)
commit26d509cc861ad865b12d187fc163fa78c4c128a7
treeafdc885e17def5b2f65c3dbc8c33aa595f06026b
parentb5d486d9ac40c051c23d23ef5a48685d08127904
parent11c2d6bdc458d40616e677ff71e471bd827344ee
Merge branch 'get_by_id' into 'develop'

Replace `Repo.get(Module, id)` with `Module.get_by_id(id)` where possible

See merge request pleroma/pleroma!1009
test/user_test.exs
test/web/mastodon_api/mastodon_api_controller_test.exs