This commit is contained in:
Sean King 2021-08-28 18:17:09 -06:00
parent a14e1c0003
commit d02cf7b0cd
No known key found for this signature in database
GPG Key ID: 510C52BACD6E7257
3 changed files with 3 additions and 3 deletions

View File

@ -28,4 +28,4 @@ defmodule Pleroma.Web.ApiSpec.PleromaAppOperation do
defp array_of_apps do
%Schema{type: :array, items: App, example: [App.schema().example]}
end
end
end

View File

@ -20,4 +20,4 @@ defmodule Pleroma.Web.PleromaAPI.AppController do
render(conn, "index.json", %{apps: apps})
end
end
end
end

View File

@ -8,4 +8,4 @@ defmodule Pleroma.Web.PleromaAPI.AppView do
def render("index.json", %{apps: apps}) do
render_many(apps, Pleroma.Web.MastodonAPI.AppView, "show.json")
end
end
end