summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/admin_api/views/media_proxy_cache_view.ex
blob: b46f54efe388f4e0a4ab62035500aca62d08a6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.AdminAPI.MediaProxyCacheView do
  use Pleroma.Web, :view

  def render("index.json", %{urls: urls, page_size: page_size, count: count}) do
    %{
      urls: urls,
      count: count,
      page_size: page_size
    }
  end
end