new front end #33

This commit is contained in:
2024-07-30 20:47:46 -04:00
parent baad9b0eec
commit fc66225cf5
37 changed files with 1317 additions and 15375 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ router.post('/', async function(req, res, next){
try{
req.body.created_by = req.user.username
return res.json({results: await User.add(req.body)});
return res.json(await User.add(req.body));
}catch(error){
next(error);
}