MastodonAPI.Admin.AccountView → AdminAPI.AccountView
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 13 Mar 2019 03:13:28 +0000 (04:13 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Wed, 13 Mar 2019 11:17:57 +0000 (12:17 +0100)
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/admin_api/views/account_view.ex [moved from lib/pleroma/web/mastodon_api/views/admin/account_view.ex with 85% similarity]

index 75c2c6061eb7eaaef16a51eb2546846ab42a3fe0..6d9bf289502f617ea40adffc3a3278fa43e616cc 100644 (file)
@@ -8,7 +8,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
   use Pleroma.Web, :controller
   alias Pleroma.User
   alias Pleroma.Web.ActivityPub.Relay
-  alias Pleroma.Web.MastodonAPI.Admin.AccountView
+  alias Pleroma.Web.AdminAPI.AccountView
 
   import Pleroma.Web.ControllerHelper, only: [json_response: 3]
 
similarity index 85%
rename from lib/pleroma/web/mastodon_api/views/admin/account_view.ex
rename to lib/pleroma/web/admin_api/views/account_view.ex
index 5ce0171249cae3158ee28b304f2a42a67add8535..c022fb07d2879b752b8a9b2a54b83e3b61f5d980 100644 (file)
@@ -2,11 +2,11 @@
 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.Web.MastodonAPI.Admin.AccountView do
+defmodule Pleroma.Web.AdminAPI.AccountView do
   use Pleroma.Web, :view
 
   alias Pleroma.User.Info
-  alias Pleroma.Web.MastodonAPI.Admin.AccountView
+  alias Pleroma.Web.AdminAPI.AccountView
 
   def render("index.json", %{users: users, count: count, page_size: page_size}) do
     %{