diff options
author | ThibG <thib@sitedethib.com> | 2019-05-11 22:05:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-11 22:05:39 +0200 |
commit | f6838a28f64a2e1a955d7062d8b4270312df802f (patch) | |
tree | cd4aab24ff5a6bca9a48bfd0331157232084b823 /app/controllers/api/v1/statuses_controller.rb | |
parent | 3ea5c045d712713535f130e4c462a00845946dda (diff) | |
parent | 93085c273ced0b57cde40406d2044abd2a1ce48c (diff) |
Merge pull request #1044 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api/v1/statuses_controller.rb')
-rw-r--r-- | app/controllers/api/v1/statuses_controller.rb | 2 |
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 |