Parcourir la source

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

tags/v1.1.4
rinpatch il y a 5 ans
Parent
révision
1fd8e19d76
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. +0
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 0
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer