about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-11 18:23:46 +0200
committerThibaut Girka <thib@sitedethib.com>2019-05-11 18:23:46 +0200
commit2b97d9d780fd3326a470693164f71464c106d4ca (patch)
tree38feb32acfc878f51f1cca59fd1da6f90e87da19 /app/controllers/api/v1
parent3ea5c045d712713535f130e4c462a00845946dda (diff)
parent6d44f2441bf2aa14d11e481d9d2cfe82a74d81ed (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/statuses_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb
index f9506971a..b0e134554 100644
--- a/app/controllers/api/v1/statuses_controller.rb
+++ b/app/controllers/api/v1/statuses_controller.rb
@@ -65,7 +65,7 @@ class Api::V1::StatusesController < Api::BaseController
 
     RemovalWorker.perform_async(@status.id)
 
-    render_empty
+    render json: @status, serializer: REST::StatusSerializer, source_requested: true
   end
 
   private