From 5733e95eee9862e0798e0cf0b9cce61cdf98de31 Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Fri, 24 Mar 2023 14:07:36 +0100 Subject: [PATCH] no message --- be/app/Services/Intranet/IntranetService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/app/Services/Intranet/IntranetService.php b/be/app/Services/Intranet/IntranetService.php index 5f759e1..29d1d24 100644 --- a/be/app/Services/Intranet/IntranetService.php +++ b/be/app/Services/Intranet/IntranetService.php @@ -18,7 +18,7 @@ class IntranetService { public function syncVacations() { $intranetVacations = Vacation::fromDate(Carbon::yesterday()->toDateString()); -dd($intranetVacations); + $dbVacations = Blocker::whereIn('type', ['vacation', 'home_office', 'free_day'])->get(); $this->insertVacationsFromIntranet($intranetVacations, $dbVacations);