Skip to content

Commit

Permalink
added README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkirathe committed Sep 4, 2024
1 parent 890b737 commit e84515b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions netlify/functions/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,15 @@ router.post('/refresh', (req, res) => {
});

router.get('/check', (req, res) => {
res.status(200).json({ message: 'All working' });
res.status(200).json({ body: 'All working' });
});

router.get('/users', (req, res) => {
res.status(200).json({ users });
});

router.get("/hello", (req, res) => res.send("Hello World!"));
router.get("/hello", (req, res) =>
res.send("Hello World!"));

api.use("/api/", router);

Expand Down

0 comments on commit e84515b

Please sign in to comment.