mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 09:51:13 +01:00
Fix Tombstone.delete_all ArgumentError (#9978)
This commit is contained in:
parent
edde07f5ab
commit
e2afe5fdfb
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
end
|
||||
|
||||
def clear_tombstones!
|
||||
Tombstone.delete_all(account_id: @account.id)
|
||||
Tombstone.where(account_id: @account.id).delete_all
|
||||
end
|
||||
|
||||
def protocol_changed?
|
||||
|
|
Loading…
Reference in a new issue