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:
Sojan Jose
2021-07-05 14:35:53 +05:30
committed by GitHub
parent 0bd48129b9
commit e11b3c4f17

View File

@@ -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,