Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const generateOrganizationLdJson = (baseUrl, localeCode, route) => {
const socialLinks = getSocialLinks(localeCode);
const url = generateCanonicalUrl(baseUrl, localeCode, route);
return {
'@type': 'Organization',
'@context': SCHEMA_ORG,
url: url,
name: DEFAULT_TITLE,
logo: MEETUP_SWARM_LOGO_URL,
sameAs: [
socialLinks.facebook,
socialLinks.twitter,
socialLinks.youtube,
socialLinks.googlePlus,
socialLinks.instagram,
],
};
};