- corretto la registrazione
This commit is contained in:
@@ -4,7 +4,7 @@ const router = express.Router();
|
||||
const tools = require('../tools/general');
|
||||
const server_constants = require('../tools/server_constants');
|
||||
|
||||
const { authenticate } = require('../middleware/authenticate');
|
||||
const { authenticate, authenticate_noerror } = require('../middleware/authenticate');
|
||||
|
||||
const { SendNotif } = require('../models/sendnotif');
|
||||
const { User } = require('../models/user');
|
||||
@@ -139,7 +139,7 @@ router.get('/delall/:username/:qualinotif/:idapp', authenticate, async (req, res
|
||||
|
||||
});
|
||||
|
||||
router.get('/:username/:lastdataread/:idapp', authenticate, (req, res) => {
|
||||
router.get('/:username/:lastdataread/:idapp', authenticate_noerror, (req, res) => {
|
||||
return getNotif(req, res);
|
||||
});
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.2.27
|
||||
1.2.28
|
||||
Reference in New Issue
Block a user