readme, changes to api structure

This commit is contained in:
Mikayla Dobson
2022-10-02 10:13:31 -05:00
parent 7b3063f43b
commit 6873bab352
8 changed files with 13 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ const UserService = require('../services/UserService');
const UserServiceInstance = new UserService();
module.exports = (app) => {
app.use('/api/user', router);
app.use('/user', router);
router.get('/:userId', async (req, res, next) => {
try {