rest users & groups

This commit is contained in:
afornerot 2020-07-03 16:10:28 +02:00
parent f4325bfb4f
commit c856315a8d
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ class RestController extends Controller
$output[$user->getId()]["lastname"] = $user->getLastname();
$output[$user->getId()]["email"] = $user->getEmail();
$output[$user->getId()]["avatar"] = $weburl."uploads/avatar/".$user->getAvatar();
$output[$user->getId()]["role"] = $user->getRole();
}
// Retour