diff --git a/w2/routes/test.js b/w2/routes/test.js index a03159e..85bd137 100644 --- a/w2/routes/test.js +++ b/w2/routes/test.js @@ -2,7 +2,7 @@ const router = require('express').Router(); const Test = require('../db/models/tests'); const Student = require('../db/models/students'); -router.get('/passing', fuxwwnction(req, res, next) { +router.get('/passing', function(req, res, next) { Test.passing() .then(tests => res.json(tests)) .catch(next); @@ -53,4 +53,4 @@ router.delete('/:id', function(req, res, next) { .catch(next); }); -module.exports = router; \ No newline at end of file +module.exports = router;