mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-14 08:31:53 +02:00
Improved delete request transaction
This commit is contained in:
parent
1b20a11bba
commit
59caf01443
15 changed files with 18 additions and 10343 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue