Browse Source

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

closed-social-glitch-2
Eugen Rochko 7 years ago
committed by GitHub
parent
commit
a478af92c3
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/views/api/v1/statuses/_show.rabl

+ 3
- 1
app/views/api/v1/statuses/_show.rabl 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) }

Loading…
Cancel
Save