- fix QSelect
- permessi none/friends/all
This commit is contained in:
@@ -333,7 +333,7 @@ router.post('/profile', authenticate, (req, res) => {
|
||||
|
||||
//++Todo: controlla che tipo di dati ha il permesso di leggere
|
||||
|
||||
return User.getUserProfileByUsername(idapp, username).then((ris) => {
|
||||
return User.getUserProfileByUsername(idapp, username, req.user.username, false, req.user.perm).then((ris) => {
|
||||
res.send(ris);
|
||||
}).catch((e) => {
|
||||
tools.mylog('ERRORE IN Profile: ' + e.message);
|
||||
|
||||
Reference in New Issue
Block a user