diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-28 09:38:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 09:38:44 +0100 |
commit | 2ba6267f1603cee682bfe3885b797ad5df7e958f (patch) | |
tree | 60586262894c6aadf5722a53ce560c9b05c3e974 /app/controllers | |
parent | 58930199379305e718d57b48488cc752b452e72a (diff) | |
parent | 94a39f6b68e236993fe5b89a697b17c8535f6ea0 (diff) |
Merge pull request #1668 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers')
-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 c8529318f..b1390ae48 100644 --- a/app/controllers/api/v1/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -57,7 +57,7 @@ class Api::V1::StatusesController < Api::BaseController authorize @status, :destroy? @status.discard - RemovalWorker.perform_async(@status.id, redraft: true) + RemovalWorker.perform_async(@status.id, { 'redraft' => true }) @status.account.statuses_count = @status.account.statuses_count - 1 render json: @status, serializer: REST::StatusSerializer, source_requested: true |