diff --git a/routes/show_list.js b/routes/show_list.js index ff65b40..5966915 100644 --- a/routes/show_list.js +++ b/routes/show_list.js @@ -32,7 +32,7 @@ router.get('/:id', function(req, res, next) { }; if(row.year != '' && row.year != null) - show[id].year = row.year; + shows[id].year = row.year; }, //aprés toute les opération de la base function(){