mirror of
https://github.com/ION606/linkedin-api.git
synced 2026-05-14 22:06:54 +00:00
added fetching company website
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user