Correction bug supprimant involontairement le parrain d'un utilisateur (suite).
This commit is contained in:
parent
7c8e38bfb9
commit
3239991037
@ -597,7 +597,6 @@ exports.modify = async (req, res, next) =>
|
|||||||
else
|
else
|
||||||
req.body.GodfatherId=godFather.id;
|
req.body.GodfatherId=godFather.id;
|
||||||
}
|
}
|
||||||
console.log(req.body);
|
|
||||||
switch(req.connectedUser.User.status)
|
switch(req.connectedUser.User.status)
|
||||||
{
|
{
|
||||||
case "admin":
|
case "admin":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user