Browse Source

MastodonAPI.Admin.AccountView → AdminAPI.AccountView

tags/v1.1.4
Haelwenn (lanodan) Monnier 5 years ago
parent
commit
cc0f2f8ba3
No known key found for this signature in database GPG Key ID: D5B7A8E43C997DEE
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      lib/pleroma/web/admin_api/admin_api_controller.ex
  2. +2
    -2
      lib/pleroma/web/admin_api/views/account_view.ex

+ 1
- 1
lib/pleroma/web/admin_api/admin_api_controller.ex View 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]



lib/pleroma/web/mastodon_api/views/admin/account_view.ex → lib/pleroma/web/admin_api/views/account_view.ex View 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
%{

Loading…
Cancel
Save