Output tags list in TwAPI.
This commit is contained in:
parent
8feec8d390
commit
fafb765c48
2 changed files with 4 additions and 2 deletions
|
|
@ -118,7 +118,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
|
|||
"repeat_num" => announcement_count,
|
||||
"favorited" => to_boolean(favorited),
|
||||
"repeated" => to_boolean(repeated),
|
||||
"external_url" => activity.data["id"]
|
||||
"external_url" => activity.data["id"],
|
||||
"tags" => activity.data["object"]["tag"] || []
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue