Fix suspended account's fields being set as empty dict instead of list (#10178)
Fixes #10177
This commit is contained in:
parent
ac99b3465e
commit
d785497ba5
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue