added fetching company website

This commit is contained in:
2024-05-30 15:35:16 -04:00
parent 6e02057a97
commit 4e5fa6aa6b
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export class LinkedInProfile {
let { phoneNumbers, emailAddress, websites, weChatContactInfo, twitterHandles, instantMessengers } = uObj;
if (websites) websites = websites.map(w => ({ label: w.label, category: w.category, url: w.url }));
return { phoneNumbers, emailAddress, websites, weChatContactInfo, twitterHandles, instantMessengers };
return { phoneNumbers, emailAddress: (emailAddress?.emailAddress || emailAddress), websites, weChatContactInfo, twitterHandles, instantMessengers };
}
// Parse specific services offered, contained in the 'simpleInsight' section of 'insightsResolutionResults'