2021-08-29 00:02:36 +00:00
|
|
|
# Pleroma: A lightweight social networking server
|
2023-01-01 11:11:47 +00:00
|
|
|
# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
|
2021-08-29 00:02:36 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
defmodule Pleroma.Web.PleromaAPI.AppView do
|
|
|
|
use Pleroma.Web, :view
|
|
|
|
|
|
|
|
def render("index.json", %{apps: apps}) do
|
|
|
|
render_many(apps, Pleroma.Web.MastodonAPI.AppView, "show.json")
|
|
|
|
end
|
2021-08-29 00:17:09 +00:00
|
|
|
end
|