Commit 506b1921 authored by Vikas's avatar Vikas

Update EnrichWidget.js

parent 79c173f1
......@@ -101,6 +101,8 @@ var Accounts_Component_AbstractAPIWidget = VTAP.Component.Core.extend({
//Call APi Designer Api pubilshed and use the data to display in html.
//abstractapi expected that domain in the format or only, if you supply or then it might not work
//you may have to format the data before using it in the below API.
VTAP.CustomApi.Get('get_abstractapi_company_enrich', {domain: this.record.email_domain}, (error, response) => {
if(response && response.content) {
this.enrichData = JSON.parse(response.content);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment