quarantine instances info
[akkoma] / lib / pleroma / web / mastodon_api / views / report_view.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.MastodonAPI.ReportView do
6 use Pleroma.Web, :view
7
8 def render("show.json", %{activity: activity}) do
9 %{
10 id: to_string(activity.id),
11 action_taken: false
12 }
13 end
14 end