stable
Sean King 3 years ago
parent a14e1c0003
commit d02cf7b0cd
No known key found for this signature in database
GPG Key ID: 510C52BACD6E7257

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

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

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

Loading…
Cancel
Save