瀏覽代碼

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

tags/v1.1.4
rinpatch 5 年之前
父節點
當前提交
1fd8e19d76
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      lib/pleroma/web/mastodon_api/views/status_view.ex

+ 0
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex 查看文件

@@ -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…
取消
儲存