fix unsubscribe and review links in email notification
This commit is contained in:
@@ -42,7 +42,7 @@ const postQuerySubmit = async (req, res) => {
|
||||
searchRequest.subscribed = true;
|
||||
await searchRequest.save();
|
||||
|
||||
sendTemplatedEmail(req.body.email, searchRequest);
|
||||
sendTemplatedEmail(emailInput, searchRequest);
|
||||
res.redirect(nextStep);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user