fix confirm_claim not setting deleted_at

This commit is contained in:
Justin Edmund 2025-12-18 00:35:41 -08:00
parent 42f3d3a9cf
commit 3e21cb697d

View file

@ -46,9 +46,9 @@ class PhantomPlayer < ApplicationRecord
raise CrewErrors::NotClaimedByUserError unless claimed_by == user
self.claim_confirmed = true
self.deleted_at = Time.current
transfer_scores_to_membership!
save!
soft_delete!
end
# Soft delete the phantom (keeps record for logging)