lib/base_crm/contact.rb in basecrm-0.1.1 vs lib/base_crm/contact.rb in basecrm-0.1.2
- old
+ new
@@ -14,11 +14,15 @@
endpoint BaseCrm.config.endpoints.crm
end
def payload
hash = super
- hash.delete('tags_joined_by_comma')
+
+ tags_joined_by_comma = hash.delete('tags_joined_by_comma')
+ hash['tag_list'] ||= tags_joined_by_comma
+
hash.delete('linkedin_display')
+
hash
end
def self.fetch_for_deal(deal)
scope.