Fix admin api.
authorlain <lain@soykaf.club>
Sat, 1 Dec 2018 08:03:16 +0000 (09:03 +0100)
committerlain <lain@soykaf.club>
Sat, 1 Dec 2018 08:03:16 +0000 (09:03 +0100)
commit1c67277c8031be2212d6faf84c143ac11462c87b
treeaac3fed64e1c2619c2e185c1ae23441823939bd9
parentd0ec2812bd347469ebce8a4606953bd6c901db80
Fix admin api.
lib/pleroma/plugs/user_is_admin_plug.ex
lib/pleroma/user/info.ex
lib/pleroma/web/admin_api/admin_api_controller.ex
test/plugs/user_is_admin_plug_test.exs
test/web/admin_api/admin_api_controller_test.exs