diff options
author | pluralcafe-docker <git@plural.cafe> | 2018-12-11 19:07:50 +0000 |
---|---|---|
committer | pluralcafe-docker <git@plural.cafe> | 2018-12-11 19:07:50 +0000 |
commit | 68c00c4011d62814b035ff5921822bf0bfb53d64 (patch) | |
tree | cf9e0ee2d9d76b779f41c6e7a0d1af689e0045b8 /app/controllers/api | |
parent | 1c0b2479045015b96907eaa7567bfd14e4593424 (diff) | |
parent | c6b7b984891413cb1db673df2cbea12f8e6f0f05 (diff) |
Merge branch 'glitch'
Diffstat (limited to 'app/controllers/api')
-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 |