test et debug

This commit is contained in:
Antoine WEBER 2015-09-22 14:56:32 +02:00
parent 0de920ed93
commit 4568b74699
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ router.get('/:id', function(req, res, next) {
//stmt.finalize();
db.get("SELECT id, name, section_type as type"
+ " FROM library_sections ORDER BY name ASC", function(err, row) {
+ " FROM library_sections WHERE id = ? ORDER BY name ASC",req.params.id, function(err, row) {
channel_info = row;
});