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 = ``; - const deviceIcon = ``; + const deviceIcon = ``; 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}}', ``) + .replace('{{logo}}', ``) .replace('{{currentDate}}', currentDate) .replace('{{domainName}}', domainName) .replace('{{keywordsCount}}', keywordsCount.toString()) @@ -172,7 +172,7 @@ const generateGoogeleConsoleStats = async (domainName:string): Promise = let htmlWithSCStats = ` - Google Search Console Stats + Google Search Console Stats ${startDate.getDate()} ${months[startDate.getMonth()]} - ${endDate.getDate()} ${months[endDate.getMonth()]}