about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-24 16:23:53 +0200
committerThibaut Girka <thib@sitedethib.com>2019-07-24 16:23:53 +0200
commit2d35e4460a6c55930568d4b19563f9894d89e79b (patch)
tree020d6a6ef6b4a236f14d6287e4ff97c0750db3c9 /app/controllers/api/v1
parente3a551cbd1f894fa779dc55168e56bb5f07b3d72 (diff)
parent94f5c714f11248df6a2b793f47cdb30028f67fca (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/instances_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/instances_controller.rb b/app/controllers/api/v1/instances_controller.rb
index b68c78615..93e4f0003 100644
--- a/app/controllers/api/v1/instances_controller.rb
+++ b/app/controllers/api/v1/instances_controller.rb
@@ -6,6 +6,6 @@ class Api::V1::InstancesController < Api::BaseController
 
   def show
     expires_in 3.minutes, public: true
-    render_with_cache json: {}, serializer: REST::InstanceSerializer
+    render_with_cache json: {}, serializer: REST::InstanceSerializer, root: 'instance'
   end
 end