- corretto la registrazione

This commit is contained in:
Surya Paolo
2025-03-15 15:35:35 +01:00
parent 6c50f35b2b
commit dfe492df45
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ const router = express.Router();
const tools = require('../tools/general'); const tools = require('../tools/general');
const server_constants = require('../tools/server_constants'); 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 { SendNotif } = require('../models/sendnotif');
const { User } = require('../models/user'); 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); return getNotif(req, res);
}); });

View File

@@ -1 +1 @@
1.2.27 1.2.28