Skip to content

Commit

Permalink
Correction d'une erreur lors d'un choix unique de capteur
Browse files Browse the repository at this point in the history
  • Loading branch information
vazafons committed Dec 15, 2016
1 parent 2302e7c commit d9b0cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,16 @@ router.get('/graph', function (req, res, next) {
BID[j] = obj[j].BID
//console.log(obj[j]);
}
var parsedSID = `"${SID.join("\",\"")}"`
}
else{
obj = JSON.parse(select)
Computername = obj.Computername
SID = obj.SID
BID = obj.BID
var parsedSID = `"${SID}"`
// console.log(obj[0])
}

var parsedSID = `"${SID.join("\",\"")}"`

//console.log(obj)
//var names = req.body['names[]'];
Expand Down

0 comments on commit d9b0cd4

Please sign in to comment.