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);