- ++Booking List
- ++Delete a Booking also for the Admin.
This commit is contained in:
@@ -7,6 +7,8 @@ const tools = require('../tools/general');
|
||||
var authenticate = (req, res, next) => {
|
||||
var token = req.header('x-auth');
|
||||
|
||||
console.log('authenticate... ');
|
||||
|
||||
const access = 'auth';
|
||||
|
||||
User.findByToken(token, access).then((user) => {
|
||||
|
||||
Reference in New Issue
Block a user