diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 74fde340..98c292d1 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -208,7 +208,7 @@ class ApiController extends Controller { return new JSONResponse([], Http::STATUS_FORBIDDEN); } - $list = $this->timelineQuery->getDayFolder($node->getId(), intval($dayId)); + $list = $this->timelineQuery->getDayFolder($user->getUID(), $node->getId(), intval($dayId)); return new JSONResponse($list, Http::STATUS_OK); }