about summary refs log tree commit diff
path: root/app/views/api/v1/search
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/v1/search')
-rw-r--r--app/views/api/v1/search/index.rabl4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/api/v1/search/index.rabl b/app/views/api/v1/search/index.rabl
index d10ac9e0f..8d1640f2d 100644
--- a/app/views/api/v1/search/index.rabl
+++ b/app/views/api/v1/search/index.rabl
@@ -1,6 +1,6 @@
 object @search
 
-child accounts: :accounts do
+child :accounts, object_root: false do
   extends 'api/v1/accounts/show'
 end
 
@@ -8,6 +8,6 @@ node(:hashtags) do |search|
   search.hashtags.map(&:name)
 end
 
-child statuses: :statuses do
+child :statuses, object_root: false do
   extends 'api/v1/statuses/show'
 end