Fix error in severed relationship event serializer (#29670)
This commit is contained in:
parent
98a2bb8be2
commit
f4d753aedf
@ -16,7 +16,13 @@ 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,
|
||||
:purged?,
|
||||
to: :relationship_severance_event,
|
||||
prefix: false
|
||||
|
||||
before_create :set_relationships_count!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user