diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-17 18:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-17 18:57:31 +0200 |
commit | a58ec29631f74259364dc71b408a8d66df657149 (patch) | |
tree | edc8613a80d7e762d96f2ea1a25273276618aa32 /app/serializers | |
parent | bb21c6414db64739637b4ea81526efe8e539cce0 (diff) |
Allow selecting default posting language instead of auto-detect (#7828)
* Allow selecting default posting language instead of auto-detect * Enable default language setting in credentials API * Fix form saving
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/rest/credential_account_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/rest/credential_account_serializer.rb b/app/serializers/rest/credential_account_serializer.rb index 56857cba8..fb195eb07 100644 --- a/app/serializers/rest/credential_account_serializer.rb +++ b/app/serializers/rest/credential_account_serializer.rb @@ -9,6 +9,7 @@ class REST::CredentialAccountSerializer < REST::AccountSerializer { privacy: user.setting_default_privacy, sensitive: user.setting_default_sensitive, + language: user.setting_default_language, note: object.note, fields: object.fields.map(&:to_h), } |