Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/Controller/LocalController.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,15 +459,16 @@ public function probeCircles(int $limit = -1, int $offset = 0): DataResponse {
* @NoAdminRequired
*
* @param string $circleId
* @param bool $fullDetails
*
* @return DataResponse
* @throws OCSException
*/
public function members(string $circleId): DataResponse {
public function members(string $circleId, bool $fullDetails = false): DataResponse {
try {
$this->setCurrentFederatedUser();

return new DataResponse($this->serializeArray($this->memberService->getMembers($circleId)));
return new DataResponse($this->serializeArray($this->memberService->getMembers($circleId, $fullDetails)));
} catch (Exception $e) {
$this->e($e, ['circleId' => $circleId]);
throw new OCSException($e->getMessage(), (int)$e->getCode());
Expand Down
Loading