From d977ec7cbe9043fbe961dd871d3a7655495d8300 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 12 Sep 2022 02:35:09 -0700 Subject: [PATCH] Fix broken folderDay --- lib/Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }