This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Remove a TODO comment as the tests for poll view were written
tags/v1.1.4
rinpatch
5 years ago
parent
2fe3a20638
commit
1fd8e19d76
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
lib/pleroma/web/mastodon_api/views/status_view.ex
+ 0
- 1
lib/pleroma/web/mastodon_api/views/status_view.ex
View 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
Write
Preview
Loading…
Cancel
Save