Poll View: Always return voters_count.
This commit is contained in:
parent
ba3f3a5a56
commit
1cfc3278c0
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ defmodule Pleroma.Web.MastodonAPI.PollViewTest do
|
|||
],
|
||||
voted: false,
|
||||
votes_count: 0,
|
||||
voters_count: nil
|
||||
voters_count: 0
|
||||
}
|
||||
|
||||
result = PollView.render("show.json", %{object: object})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue