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 hiyuki2578 committed Oct 2, 2019
1 parent ca644b1 commit 73c94a9
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 73c94a9

Please sign in to comment.