diff --git a/routes/pagans.js b/routes/pagans.js index 2b17312..a9e3e95 100755 --- a/routes/pagans.js +++ b/routes/pagans.js @@ -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"]; }