diff --git a/netlify/functions/api.js b/netlify/functions/api.js index 9aa58b3..c8d072a 100644 --- a/netlify/functions/api.js +++ b/netlify/functions/api.js @@ -232,7 +232,7 @@ router.get('/check', (req, res) => { res.status(200).json({message}); }); -router.get('/users', (req, res) => { +router.post('/users', (req, res) => { res.status(200).json({users}); });