Merge branch 'fix/backup-url-on-s3' into 'develop'
[akkoma] / lib / pleroma / web / admin_api / views / media_proxy_cache_view.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.AdminAPI.MediaProxyCacheView do
6 use Pleroma.Web, :view
7
8 def render("index.json", %{urls: urls, page_size: page_size, count: count}) do
9 %{
10 urls: urls,
11 count: count,
12 page_size: page_size
13 }
14 end
15 end