chore: Expose contact custom attributes in events (#2562)
Expose contact custom attributes in events so the external system can behave accordingly without triggering an additional API call.
This commit is contained in:
@@ -55,6 +55,7 @@ class Contact < ApplicationRecord
|
|||||||
def push_event_data
|
def push_event_data
|
||||||
{
|
{
|
||||||
additional_attributes: additional_attributes,
|
additional_attributes: additional_attributes,
|
||||||
|
custom_attributes: custom_attributes,
|
||||||
email: email,
|
email: email,
|
||||||
id: id,
|
id: id,
|
||||||
identifier: identifier,
|
identifier: identifier,
|
||||||
|
|||||||
Reference in New Issue
Block a user