From 89bbebe0bae3255fa1772f8ab0880239936037ce Mon Sep 17 00:00:00 2001 From: John Kirathe Date: Wed, 4 Sep 2024 23:00:15 +0300 Subject: [PATCH] added README.md --- netlify/functions/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); });