about summary refs log tree commit diff
path: root/app/views/api/statuses
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/statuses')
-rw-r--r--app/views/api/statuses/show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl
index 21e054453..c7d028e14 100644
--- a/app/views/api/statuses/show.rabl
+++ b/app/views/api/statuses/show.rabl
@@ -18,7 +18,7 @@ child :account do
 end
 
 child :media_attachments, object_root: false do
-  attribute :remote_url
+  attributes :id, :remote_url
 
   node(:url) { |media| full_asset_url(media.file.url) }
   node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }