Contact Map

This commit is contained in:
Pranav Raj S 2022-06-04 19:58:44 +05:30
parent 93314501b0
commit 32011212e5

View file

@ -125,7 +125,7 @@ class MigrateToCloud::ImportToCloud
conversation.add_labels([data[tags['tag_id']]])
end
elsif tags['taggable_type'] == 'Contact'
contact = account.contacts.find(conversation_map[tags['taggable_id']])
contact = account.contacts.find(contact_map[tags['taggable_id']])
contact.add_labels([data[tags['tag_id']]])
end
end