Merge commit 'fc5ab2dc83' into kb_migration

This commit is contained in:
KMY 2023-08-15 18:17:59 +09:00
commit 9d38301bfa
132 changed files with 145 additions and 696 deletions

View file

@ -10,11 +10,6 @@ class UpdateAccountService < BaseService
params.delete(:bio_markdown)
account.user.send(update_method, user_params)
end
if account.user && params.key?(:discoverable_local)
user_params = { settings_attributes: { discoverable_local: params['discoverable_local'] } }
params.delete(:discoverable_local)
account.user.send(update_method, user_params)
end
account.send(update_method, params).tap do |ret|
next unless ret