* slack and google calendar feature flags * cs fix * update .env.example
This commit is contained in:
@@ -23,6 +23,10 @@ class SendVacationRequestDaysToGoogleCalendar implements ShouldQueue
|
||||
|
||||
public function handle(): void
|
||||
{
|
||||
if (!config("services.google.calendar_enabled")) {
|
||||
return;
|
||||
}
|
||||
|
||||
$days = $this->vacationRequest
|
||||
->vacations()
|
||||
->orderBy("date")
|
||||
|
Reference in New Issue
Block a user