about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-05-11 18:06:12 -0700
committerReverite <github@reverite.sh>2019-05-11 18:06:12 -0700
commitcdb159f27e2aeb2cf3bb184ac20b7056b013f714 (patch)
tree01a185cccbaedb031eaf592706349907dc6decd4 /app/controllers/api
parentb403052b6759c8a87fc8e20304c0c31c05412313 (diff)
parentf6838a28f64a2e1a955d7062d8b4270312df802f (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/controllers/api')
-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