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

master
Eugen Rochko 8 years ago committed by GitHub
parent 7fba4cb3d1
commit a478af92c3
  1. 4
      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(:uri) { |status| TagManager.instance.uri_for(status) }
node(:content) { |status| Formatter.instance.format(status) } node(:content) { |status| Formatter.instance.format(status) }

Loading…
Cancel
Save