Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
normandy
pleroma
Commits
cc0f2f8b
Verified
Commit
cc0f2f8b
authored
6 years ago
by
Haelwenn
Browse files
Options
Downloads
Patches
Plain Diff
MastodonAPI.Admin.AccountView → AdminAPI.AccountView
parent
92a0210f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/pleroma/web/admin_api/admin_api_controller.ex
+1
-1
1 addition, 1 deletion
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/admin_api/views/account_view.ex
+2
-2
2 additions, 2 deletions
lib/pleroma/web/admin_api/views/account_view.ex
with
3 additions
and
3 deletions
lib/pleroma/web/admin_api/admin_api_controller.ex
+
1
−
1
View file @
cc0f2f8b
...
...
@@ -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
.
Admin
API
.
AccountView
import
Pleroma
.
Web
.
ControllerHelper
,
only:
[
json_response:
3
]
...
...
This diff is collapsed.
Click to expand it.
lib/pleroma/web/
mastodo
n_api/views/
admin/
account_view.ex
→
lib/pleroma/web/
admi
n_api/views/account_view.ex
+
2
−
2
View file @
cc0f2f8b
...
...
@@ -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
.
Admin
API
.
AccountView
do
use
Pleroma
.
Web
,
:view
alias
Pleroma
.
User
.
Info
alias
Pleroma
.
Web
.
MastodonAPI
.
Admin
.
AccountView
alias
Pleroma
.
Web
.
Admin
API
.
AccountView
def
render
(
"index.json"
,
%{
users:
users
,
count:
count
,
page_size:
page_size
})
do
%{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment