fix hashtags in api response
This commit is contained in:
parent
5436aaad4f
commit
9442588ae9
2 changed files with 75 additions and 53 deletions
|
|
@ -24,7 +24,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
|||
note
|
||||
|> Map.put(:data, data)
|
||||
|
||||
user = User.get_cached_by_ap_id(note.data["actor"])
|
||||
User.get_cached_by_ap_id(note.data["actor"])
|
||||
|
||||
status = StatusView.render("status.json", %{activity: note})
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
|||
visibility: "public",
|
||||
media_attachments: [],
|
||||
mentions: [],
|
||||
tags: [],
|
||||
tags: note.data["object"]["tag"],
|
||||
application: %{
|
||||
name: "Web",
|
||||
website: nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue