updates to cart section of api
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user