fix an error introduced when the contact.js controller was refactored
This commit is contained in:
@@ -40,7 +40,7 @@ exports.postContact = function(req, res) {
|
|||||||
to: 'team@freecodecamp.com',
|
to: 'team@freecodecamp.com',
|
||||||
name: req.body.name,
|
name: req.body.name,
|
||||||
from: req.body.email,
|
from: req.body.email,
|
||||||
subject: 'CodeNonprofit Project Idea from ' + name,
|
subject: 'CodeNonprofit Project Idea from ' + req.body.name,
|
||||||
text: req.body.message
|
text: req.body.message
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user