Fix lint
parent
82f3dc923f
commit
9e6c52648b
|
@ -102,7 +102,6 @@ campaigns.route('/:id')
|
|||
|
||||
.delete((req, res, next) => {
|
||||
WarModel.find({campaign: req.params.id}, (err, wars) => {
|
||||
|
||||
wars.forEach((item) => {
|
||||
// delete linked appearances
|
||||
PlayerModel.find({warId: item._id}).remove().exec();
|
||||
|
|
Loading…
Reference in New Issue