Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -36,7 +36,9 @@ router.get('/hospital', function (req, res) { | ... | @@ -36,7 +36,9 @@ router.get('/hospital', function (req, res) { |
36 | hospitals.push(library); | 36 | hospitals.push(library); |
37 | } | 37 | } |
38 | } | 38 | } |
39 | - console.log([hospitals[1]]); | 39 | + console.log([hospitals); |
40 | + res.render('result', { category: 'hospital', userLocation: userLocation }); | ||
40 | } | 41 | } |
42 | + | ||
41 | }) | 43 | }) |
42 | }); | 44 | }); |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment