Changed to send email only to some users.
This commit is contained in:
@@ -136,9 +136,6 @@ const generateCheckUpEmail = searchRequest => {
|
||||
? `<div><strong>Kvadratura okućnice: Od ${gardenSizeMin} do ${gardenSizeMax} m2</strong></div>`
|
||||
: ``;
|
||||
|
||||
const allRealEstatesLink = `${APP_URL}/nekretnine/${id}`;
|
||||
const moreRealEstates = `<div>Kompletan spisak do sada pronađenih nekretnina možete pogledati na <a href="${allRealEstatesLink}">listi nekretnina</a><div>`;
|
||||
|
||||
const emailFooter = generateEmailFooter(id);
|
||||
|
||||
return `<h3>Zdravo</h3>
|
||||
@@ -153,8 +150,6 @@ const generateCheckUpEmail = searchRequest => {
|
||||
<div><strong>Cijena:</strong> ${priceMin} do ${priceMax} KM</div>
|
||||
</div>
|
||||
<br/>
|
||||
${moreRealEstates}
|
||||
<br/>
|
||||
${emailFooter}`;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user