Merge pull request #4518 from nextcloud/bugfix/4517/fix-board-api-details
This commit is contained in:
@@ -60,9 +60,11 @@ class BoardApiController extends ApiController {
|
|||||||
* @NoCSRFRequired
|
* @NoCSRFRequired
|
||||||
*
|
*
|
||||||
* Return all of the boards that the current user has access to.
|
* Return all of the boards that the current user has access to.
|
||||||
|
*
|
||||||
|
* @param bool $details
|
||||||
* @throws StatusException
|
* @throws StatusException
|
||||||
*/
|
*/
|
||||||
public function index($details = null) {
|
public function index(bool $details = false) {
|
||||||
$modified = $this->request->getHeader('If-Modified-Since');
|
$modified = $this->request->getHeader('If-Modified-Since');
|
||||||
if ($modified === null || $modified === '') {
|
if ($modified === null || $modified === '') {
|
||||||
$boards = $this->boardService->findAll(0, $details === true);
|
$boards = $this->boardService->findAll(0, $details === true);
|
||||||
|
|||||||
Reference in New Issue
Block a user