1 defmodule Pleroma.Web.MastodonAPI.ListView do
3 alias Pleroma.Web.MastodonAPI.ListView
5 def render("lists.json", %{lists: lists} = opts) do
6 render_many(lists, ListView, "list.json", opts)
9 def render("list.json", %{list: list}) do
11 id: to_string(list.id),