Adding name to passed variables for generated bonfires

This commit is contained in:
Nathan Leniz
2015-01-27 22:46:18 -05:00
parent 5294462e4c
commit 4fcca641b6
2 changed files with 1 additions and 2 deletions

2
app.js
View File

@@ -304,8 +304,6 @@ app.post('/completed-bonfire/', function (req, res) {
}
pairedWith = pairedWith.pop();
//debug('This is paired with', Object.keys(pairedWith));
debug('This is paired with\'s uncompleted bonfires array', pairedWith.uncompletedBonfires);
index = pairedWith.uncompletedBonfires.indexOf(bonfireHash);
if (index > -1) {
pairedWith.uncompletedBonfires.splice(index,1)