Fix Tombstone.delete_all ArgumentError (#9978)

master
abcang 5 years ago committed by Eugen Rochko
parent 46e806cd2f
commit e186bd2fb0
  1. 2
      app/services/activitypub/process_account_service.rb

@ -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…
Cancel
Save