[Pleroma.Web.MastodonAPI.StatusView] add replies_count

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-09-20 16:10:46 +02:00
commit 43d0b7bf7a
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
content: HtmlSanitizeEx.basic_html(note.data["object"]["content"]),
created_at: created_at,
reblogs_count: 0,
replies_count: 0,
favourites_count: 0,
reblogged: false,
favourited: false,