gearheads
/
mastodon
Archived
2
0
Fork 0

Fix forgotten to include language attribute in statuses JSON (#3209)

gh/stable
Eugen Rochko 2017-05-21 21:38:09 +02:00 committed by GitHub
parent 7fba4cb3d1
commit a478af92c3
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
attributes :id, :created_at, :in_reply_to_id, :in_reply_to_account_id, :sensitive, :spoiler_text, :visibility
attributes :id, :created_at, :in_reply_to_id,
:in_reply_to_account_id, :sensitive,
:spoiler_text, :visibility, :language
node(:uri) { |status| TagManager.instance.uri_for(status) }
node(:content) { |status| Formatter.instance.format(status) }