diff --git a/server/routes/athletes.js b/server/routes/athletes.js index 3c75de9..18d52b5 100644 --- a/server/routes/athletes.js +++ b/server/routes/athletes.js @@ -10,15 +10,6 @@ router.get('/api/athletes', requireAuth, async (req, res) => { res.send(athletes); }); -//add a new athlete -router.get('/api/athletes/new', requireAuth, (req, res) => { - -}); - -//add a new athlete -router.post('/api/athletes', requireAuth, (req, res) => { -}); - router.get('/api/athletes/:id', requireAuth, async (req, res) => { const athlete = await Athlete.findById(req.params.id); res.send(athlete)