diff --git a/utils/generateEmail.ts b/utils/generateEmail.ts index 8b776d0..9dff830 100644 --- a/utils/generateEmail.ts +++ b/utils/generateEmail.ts @@ -88,7 +88,7 @@ const generateEmail = async (domainName:string, keywords:KeywordType[]) : Promis const positionChange = getPositionChange(keyword.history, keyword.position); const deviceIconImg = keyword.device === 'desktop' ? desktopIcon : mobileIcon; const countryFlag = `${keyword.country}`; - const deviceIcon = `${keyword.device}`; + const deviceIcon = `${keyword.device}`; if (positionChange > 0) { positionChangeIcon = ''; improved += 1; } if (positionChange < 0) { positionChangeIcon = ''; declined += 1; } @@ -104,7 +104,7 @@ const generateEmail = async (domainName:string, keywords:KeywordType[]) : Promis const stat = `${improved > 0 ? `${improved} Improved` : ''} ${improved > 0 && declined > 0 ? ', ' : ''} ${declined > 0 ? `${declined} Declined` : ''}`; const updatedEmail = emailTemplate - .replace('{{logo}}', `SerpBear`) + .replace('{{logo}}', `SerpBear`) .replace('{{currentDate}}', currentDate) .replace('{{domainName}}', domainName) .replace('{{keywordsCount}}', keywordsCount.toString()) @@ -172,7 +172,7 @@ const generateGoogeleConsoleStats = async (domainName:string): Promise = let htmlWithSCStats = `