mise à jour addprofils et removeprofis
This commit is contained in:
@@ -387,7 +387,7 @@ router.put("/person/:tribe", checkHeaders, isAuthenticated, (req, res) => {
|
||||
data: { alias: person.alias, profils: person.profils },
|
||||
});
|
||||
}
|
||||
if (!req.body.addprofils) {
|
||||
if (!req.body.addprofils && !req.body.removeprofils) {
|
||||
if (!req.body.profils) {
|
||||
req.body.profils = ["anonymous", "pagans", "persons"];
|
||||
}
|
||||
|
Reference in New Issue
Block a user