#166 - Slack and Google Calendar feature flags (#167)

* slack and google calendar feature flags

* cs fix

* update .env.example
This commit is contained in:
Adrian Hopek
2022-06-13 13:50:23 +02:00
committed by GitHub
parent 31a6d287c8
commit 68e32ad930
5 changed files with 18 additions and 3 deletions

View File

@@ -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")