Fix lint
This commit is contained in:
parent
a14e1c0003
commit
d02cf7b0cd
|
@ -28,4 +28,4 @@ def index_operation 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 @@ def index(%{assigns: %{user: user}} = conn, _params) 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…
Reference in New Issue