Allow update_credentials to update User.language

stable
Tusooa Zhu 3 years ago committed by FloatingGhost
parent 7726148472
commit 1b77308644

@ -217,6 +217,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do
|> Maps.put_if_present(:is_locked, params[:locked])
# Note: param name is indeed :discoverable (not an error)
|> Maps.put_if_present(:is_discoverable, params[:discoverable])
|> Maps.put_if_present(:language, params[:language])
# What happens here:
#

Loading…
Cancel
Save