forked from apxtri/apxtri
mise à jour addprofils et removeprofis
This commit is contained in:
parent
aad0a4371d
commit
f591f8a974
@ -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"];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user