Some times doesn't find a company that have domain and was auto createdresolver
jan 16, 2020 9:13 AM
When a user submit form from my site, first i use /contact/createOrUpdate/email/ to create contact.
If the user email domain is gmail,hotmail,etc, will create a company. If no, it will search for the company with the email domain, because we have auto create company from domain set on.
With that, i create a deal and associate with vid and companyId. With the deal created, i send to create a note for the deal.
So, the problem is that sometimes api that search company with a domain, doesn't find sometimes. I'm already using async and await.
Solucionado! Ir para Solução.