projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request 'Add /api/v1/followed_tags' (#410) from followed-tags into develop
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
app_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/app_view.ex
b/lib/pleroma/web/mastodon_api/views/app_view.ex
index 450943aee18862bd6c25c9cf45c541216393ee2c..c406b5a27f939a32d1a877182ed38f86a6d2d66e 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/app_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/app_view.ex
@@
-15,10
+15,6
@@
defmodule Pleroma.Web.MastodonAPI.AppView do
}
end
- def render("index.json", %{apps: apps}) do
- render_many(apps, Pleroma.Web.MastodonAPI.AppView, "show.json")
- end
-
def render("show.json", %{admin: true, app: %App{} = app} = assigns) do
"show.json"
|> render(Map.delete(assigns, :admin))