Merge branch '2284-voters-count' into 'develop'

Always return voters_count in polls

See merge request pleroma/pleroma!3120
This commit is contained in:
Haelwenn 2020-11-04 14:44:45 +00:00
commit 9c09ea01aa
4 changed files with 9 additions and 5 deletions

View file

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