Improved delete request transaction

This commit is contained in:
Luke Vella 2015-01-26 15:35:08 +01:00
parent 1b20a11bba
commit 59caf01443
15 changed files with 18 additions and 10343 deletions

View file

@ -27,6 +27,7 @@ exports.create = function(req, res, next){
var event = req.body;
event.__private = {
'verificationCode' : getRandomString(),
'unsubscribeCode' : getRandomString(),
'deleteCode' : getRandomString()
}
Event.create(req.body, function(err, event){