From e11b3c4f178be3dd7cbcc8adb4d9572d77d7f92a Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Mon, 5 Jul 2021 14:35:53 +0530 Subject: [PATCH] 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. --- app/models/contact.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/contact.rb b/app/models/contact.rb index f789eaf17..01efc8a51 100644 --- a/app/models/contact.rb +++ b/app/models/contact.rb @@ -55,6 +55,7 @@ class Contact < ApplicationRecord def push_event_data { additional_attributes: additional_attributes, + custom_attributes: custom_attributes, email: email, id: id, identifier: identifier,