Add google analytics #38

Merged
bilal.catic merged 4 commits from add-google-analytics into master 2019-10-10 10:35:17 +02:00
Showing only changes of commit 73a792862b - Show all commits

View File

@@ -40,9 +40,7 @@ const notifyMatches = async matches => {
const sendEmailPromise = sendEmail(email, "Nove nekretnine", emailContent);
asyncSendEmailActions.push(sendEmailPromise);
sendEmailPromise
.then(res => console.log(res))
.catch(err => console.log(err));
sendEmailPromise.catch(err => console.log("[Email Sending Failed]", err));
}
await Promise.all(asyncSendEmailActions);