Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
DevRaeph authored and github-actions[bot] committed Mar 30, 2023
1 parent 5bf7fce commit e69c2e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ALHServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ public function boot()
protected function schedule_clear()
{
$this->callAfterResolving(Schedule::class, function (Schedule $schedule) {
if(config("alh.general.clear_logs")){
$schedule->command('alh:clear-logs')->dailyAt("02:00");
if (config('alh.general.clear_logs')) {
$schedule->command('alh:clear-logs')->dailyAt('02:00');
}
});
}

protected function authorization()
{
$this->gate();
Expand Down

0 comments on commit e69c2e7

Please sign in to comment.