updates to cart section of api

This commit is contained in:
Mikayla Dobson
2022-09-27 17:23:39 -05:00
parent d99cf5bb8a
commit 9c80989860
4 changed files with 22 additions and 14 deletions

View File

@@ -5,14 +5,6 @@ const router = require('express').Router();
module.exports = (app, passport) => {
app.use('/api/auth', router);
router.get('/', async (req, res, next) => {
try {
res.send('auth get response');
} catch(e) {
next(e);
}
})
router.post('/register', async (req, res, next) => {
try {
const data = req.body;