From 002c8bf0bac860e0ae5c0ea204eb4602c2b131d7 Mon Sep 17 00:00:00 2001 From: cutepickle Date: Sat, 14 Sep 2024 18:07:18 +0100 Subject: [PATCH 1/2] chore: update users route --- web/routes/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/routes/users.js b/web/routes/users.js index 283705f..f37ae1b 100644 --- a/web/routes/users.js +++ b/web/routes/users.js @@ -2,7 +2,7 @@ const express = require('express') const router = express.Router() /* GET users listing. */ -router.get('/users', function (req, res, next) { +router.get('/', function (req, res, next) { res.send('respond with a resource') }) From c915216a115adbb6d34208e8e264f2fe004f0ad2 Mon Sep 17 00:00:00 2001 From: cutepickle Date: Sat, 14 Sep 2024 18:08:53 +0100 Subject: [PATCH 2/2] chore: revert changes to users route --- web/routes/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/routes/users.js b/web/routes/users.js index f37ae1b..283705f 100644 --- a/web/routes/users.js +++ b/web/routes/users.js @@ -2,7 +2,7 @@ const express = require('express') const router = express.Router() /* GET users listing. */ -router.get('/', function (req, res, next) { +router.get('/users', function (req, res, next) { res.send('respond with a resource') })