Merge branch '2284-voters-count' into 'develop'
Always return voters_count in polls See merge request pleroma/pleroma!3120
This commit is contained in:
commit
9c09ea01aa
4 changed files with 9 additions and 5 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