[Pleroma.Web.MastodonAPI.StatusView]: Remove nils from lists.json
This commit is contained in:
parent
3b0e9287a5
commit
0c10be8731
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ def render("index.json", opts) do
|
|||
"status.json",
|
||||
Map.put(opts, :replied_to_activities, replied_to_activities)
|
||||
)
|
||||
|> Enum.filter(fn x -> not is_nil(x) end)
|
||||
end
|
||||
|
||||
def render(
|
||||
|
|
Loading…
Reference in a new issue