Adding name to passed variables for generated bonfires
This commit is contained in:
2
app.js
2
app.js
@@ -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)
|
||||
|
Reference in New Issue
Block a user