Fix wrong configuration fetched

This commit is contained in:
Renato "Lond" Cerqueira 2018-10-23 08:38:13 +02:00
parent fde9668bae
commit 3306fad803

View File

@ -33,7 +33,7 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController
'setting_default_privacy' => source_params.fetch(:privacy, @account.user.setting_default_privacy),
'setting_default_sensitive' => source_params.fetch(:sensitive, @account.user.setting_default_sensitive),
'setting_default_language' => source_params.fetch(:language, @account.user.setting_default_language),
'setting_default_federation' => source_params.fetch(:sensitive, @account.user.setting_default_federation),
'setting_default_federation' => source_params.fetch(:federation, @account.user.setting_default_federation),
}
end
end