Refactoring

This commit is contained in:
Rampeur
2025-08-15 20:32:33 +02:00
parent 25a09aa0fe
commit f211bc4b5b
6 changed files with 0 additions and 47 deletions
-1
View File
@@ -97,7 +97,6 @@ router.get('/authenticate', function (req, res, next) {
})(req, res, next);
});
router.post('/users', function (req, res, next) {
console.log('ici post users');
let user = new User();
if (typeof req.body.user.username !== 'undefined') {
user.username = req.body.user.username;