about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-30 02:43:27 +0200
committerGitHub <noreply@github.com>2022-10-30 02:43:27 +0200
commit5724da07806ef423fc67db46dd2b28c92b34a9b2 (patch)
treebb8f9f593ca07368f6ed9644e6111d9975a78135 /app/controllers/api/v1
parent3b024c563c92ecb1221309274ba18c8cc65c2ab8 (diff)
Fix language not being saved when editing status (#19543)
Fix #19542
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/statuses_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb
index 1cc5aa32e..2e239d48b 100644
--- a/app/controllers/api/v1/statuses_controller.rb
+++ b/app/controllers/api/v1/statuses_controller.rb
@@ -65,6 +65,7 @@ class Api::V1::StatusesController < Api::BaseController
       text: status_params[:status],
       media_ids: status_params[:media_ids],
       sensitive: status_params[:sensitive],
+      language: status_params[:language],
       spoiler_text: status_params[:spoiler_text],
       poll: status_params[:poll]
     )