Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit f30f827

Browse files
committed
initial commit
1 parent 5c91944 commit f30f827

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/routes/groups/group.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ router.post('/:slug', access.isAdmin, function(req, res)
9999
}
100100
case "deleteGroup":
101101
{
102+
// Remove reference to group from game
103+
Game.removeGroup(null, group._id, function(err)
104+
{
105+
done(err, "Game remove from " + group.name);
106+
});
102107
// Remove the group
103108
group.remove(function(err)
104109
{

npm-shrinkwrap.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)