diff options
author | ThibG <thib@sitedethib.com> | 2019-03-05 15:19:54 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-05 15:19:54 +0100 |
commit | d785497ba5ed44e794dd67660b8779380f81ef42 (patch) | |
tree | 5e5e1a037c1d56f8065fc79f41c266628e7e83ac /app/services | |
parent | ac99b3465e3e0eff44c88f7c557dcc12eafff389 (diff) |
Fix suspended account's fields being set as empty dict instead of list (#10178)
Fixes #10177
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/suspend_account_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/suspend_account_service.rb b/app/services/suspend_account_service.rb index fc3bc03a5..b2ae3a47c 100644 --- a/app/services/suspend_account_service.rb +++ b/app/services/suspend_account_service.rb @@ -84,7 +84,7 @@ class SuspendAccountService < BaseService @account.locked = false @account.display_name = '' @account.note = '' - @account.fields = {} + @account.fields = [] @account.statuses_count = 0 @account.followers_count = 0 @account.following_count = 0 |