2020-06-12 11:49:54 +00:00
|
|
|
# Pleroma: A lightweight social networking server
|
|
|
|
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
defmodule Pleroma.Web.AdminAPI.MediaProxyCacheView do
|
|
|
|
use Pleroma.Web, :view
|
|
|
|
|
2020-08-11 07:28:35 +00:00
|
|
|
def render("index.json", %{urls: urls, page_size: page_size, count: count}) do
|
|
|
|
%{
|
|
|
|
urls: urls,
|
|
|
|
count: count,
|
|
|
|
page_size: page_size
|
|
|
|
}
|
2020-06-12 11:49:54 +00:00
|
|
|
end
|
|
|
|
end
|