Skip to content
Merged
1 change: 1 addition & 0 deletions lib/Controller/AjaxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ public function addWorkInterval() {
}

$this->workIntervalMapper->insert($wi);
$running = $this->workIntervalMapper->findAllRunning($this->userId);

return new JSONResponse(["WorkIntervals" => json_decode(json_encode($running), true)]);
}
Expand Down