diff --git a/controllers/group.js b/controllers/group.js index c2f19f5..2f75e21 100644 --- a/controllers/group.js +++ b/controllers/group.js @@ -144,7 +144,7 @@ exports.getOneById = async (req, res, next) => { try { - const datas=await searchGroupById(req.params.id); + const datas=await searchGroupById(req.params.id, true); if(datas) res.status(200).json(datas); else diff --git a/front/public/gestion-groups.html b/front/public/gestion-groups.html index 878965c..da61291 100644 --- a/front/public/gestion-groups.html +++ b/front/public/gestion-groups.html @@ -66,6 +66,7 @@
+