test et debug
This commit is contained in:
parent
0de920ed93
commit
4568b74699
@ -19,7 +19,7 @@ router.get('/:id', function(req, res, next) {
|
|||||||
//stmt.finalize();
|
//stmt.finalize();
|
||||||
|
|
||||||
db.get("SELECT id, name, section_type as type"
|
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;
|
channel_info = row;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user