Sfoglia il codice sorgente

Remove a TODO comment as the tests for poll view were written

tags/v1.1.4
rinpatch 5 anni fa
parent
commit
1fd8e19d76
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 0
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex Vedi File

@@ -330,7 +330,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
}
end

# TODO: Add tests for this view
def render("poll.json", %{object: object} = opts) do
{multiple, options} =
case object.data do


Loading…
Annulla
Salva