Fix Tombstone.delete_all ArgumentError (#9978)

lolsob-rspec
abcang 2019-02-06 10:50:52 +09:00 committed by Eugen Rochko
parent f308fb56ab
commit 4a8a8bcb8a
1 changed files with 1 additions and 1 deletions

View File

@ -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?