about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2018-12-11 19:07:38 +0000
committerpluralcafe-docker <git@plural.cafe>2018-12-11 19:07:38 +0000
commit1c0b2479045015b96907eaa7567bfd14e4593424 (patch)
treea054dda635ffd019bf2fdc10ed4f3341264f1490 /app/controllers/api
parentee5213093a084c2eb5fa97fb4bdea6019dda5cf5 (diff)
Revert "Add profile directory (#9427)"
This reverts commit ee5213093a084c2eb5fa97fb4bdea6019dda5cf5.
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/accounts/credentials_controller.rb2
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 e77f57910..dcd41b35c 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, :discoverable, fields_attributes: [:name, :value])
+    params.permit(:display_name, :note, :avatar, :header, :locked, :bot, fields_attributes: [:name, :value])
   end
 
   def user_settings_params