Allow update_credentials to update User.language

This commit is contained in:
Tusooa Zhu 2022-03-02 00:58:02 -05:00
parent 0149ea4538
commit 396f036b13
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 1 additions and 0 deletions

View File

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