Skip to content

Commit

Permalink
Fix Tombstone.delete_all ArgumentError (mastodon#9978)
Browse files Browse the repository at this point in the history
  • Loading branch information
abcang authored and Gargron committed Feb 6, 2019
1 parent 559fa49 commit 9cc6066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/activitypub/process_account_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def key_changed?
end

def clear_tombstones!
Tombstone.delete_all(account_id: @account.id)
Tombstone.where(account_id: @account.id).delete_all
end

def protocol_changed?
Expand Down

0 comments on commit 9cc6066

Please sign in to comment.