0
0
Fork 0

Fix issue with severed relationships notifications (#29668)

This commit is contained in:
Claire 2024-03-20 18:02:09 +01:00 committed by GitHub
parent 954b470fbc
commit 98a2bb8be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class AccountRelationshipSeveranceEvent < ApplicationRecord
belongs_to :account
belongs_to :relationship_severance_event
delegate :severed_relationships, :type, :target_name, :purged, to: :relationship_severance_event, prefix: false
delegate :severed_relationships, :type, :target_name, :purged?, to: :relationship_severance_event, prefix: false
before_create :set_relationships_count!