diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-21 21:38:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-21 21:38:09 +0200 |
commit | a478af92c3963918f5974d000add088f2dfb5dbb (patch) | |
tree | 8d1c48c65f99564201d08442c114937a3ac74e7e /app/views/api/v1 | |
parent | 7fba4cb3d1a4a4d0ba6713b4e01584faef9c369a (diff) |
Fix forgotten to include language attribute in statuses JSON (#3209)
Diffstat (limited to 'app/views/api/v1')
-rw-r--r-- | app/views/api/v1/statuses/_show.rabl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/api/v1/statuses/_show.rabl b/app/views/api/v1/statuses/_show.rabl index 54e8a86d8..fe3ec89ab 100644 --- a/app/views/api/v1/statuses/_show.rabl +++ b/app/views/api/v1/statuses/_show.rabl @@ -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) } |