diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-06 17:36:11 +0100 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2018-12-06 15:59:26 -0800 |
commit | ee5213093a084c2eb5fa97fb4bdea6019dda5cf5 (patch) | |
tree | fedcca21d531082c671750f2d86c43e2895f91ef /app/controllers/api/v1/accounts/credentials_controller.rb | |
parent | a78e3f2206ddaeeb3e6f1c23e4b524af29e92b04 (diff) |
Add profile directory (#9427)
Fix #5578
Diffstat (limited to 'app/controllers/api/v1/accounts/credentials_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts/credentials_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts/credentials_controller.rb b/app/controllers/api/v1/accounts/credentials_controller.rb index dcd41b35c..e77f57910 100644 --- a/app/controllers/api/v1/accounts/credentials_controller.rb +++ b/app/controllers/api/v1/accounts/credentials_controller.rb @@ -21,7 +21,7 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController private def account_params - params.permit(:display_name, :note, :avatar, :header, :locked, :bot, fields_attributes: [:name, :value]) + params.permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, fields_attributes: [:name, :value]) end def user_settings_params |