removed setting analytics to empty array after submissions are deleted
This commit is contained in:
parent
2c9e931257
commit
e0ad256904
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ exports.deleteSubmissions = function(req, res) {
|
|||
return;
|
||||
}
|
||||
|
||||
form.analytics.visitors = [];
|
||||
form.save(function(formSaveErr){
|
||||
if(formSaveErr){
|
||||
res.status(400).send({
|
||||
|
|
Loading…
Reference in a new issue