chore: redesign email template (#358)

* updated the email template

* impelement design that works on email

---------

Co-authored-by: emmanuel <chifez1@gmail.com>
This commit is contained in:
Rotimi Best
2024-06-09 23:34:17 +01:00
committed by GitHub
co-authored by emmanuel
parent a1b721b23a
commit 68b04e3385
4 changed files with 166 additions and 461 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ router.post('/', async (req, res) => {
return res.json({ success: true });
} catch (error) {
console.error('Error sending emails:', error);
return res.status(500).json({ error: 'Internal Server Error' });
return res.status(400).json({ error: `Bad request - ${error.message}` });
}
});