From a478af92c3963918f5974d000add088f2dfb5dbb Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 21 May 2017 21:38:09 +0200 Subject: [PATCH] Fix forgotten to include language attribute in statuses JSON (#3209) --- app/views/api/v1/statuses/_show.rabl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/api/v1/statuses/_show.rabl b/app/views/api/v1/statuses/_show.rabl index 54e8a86d81..fe3ec89ab2 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) }