mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
refactoring
This commit is contained in:
@@ -90,6 +90,8 @@ app.post('/send/welcome', express.json(), async (req, res) => {
|
||||
|
||||
app.post('/send/purchase', express.json(), async (req, res) => {
|
||||
try {
|
||||
console.log('PURCHASE EMAIL DISABLED')
|
||||
return;
|
||||
const { target, projectName } = req.body;
|
||||
const ok = await EmailService.sendPurchaseEmail(target, projectName);
|
||||
res.json({ ok });
|
||||
|
||||
Reference in New Issue
Block a user