Skip to content

Commit

Permalink
fix scheduled job injection
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Jun 25, 2023
1 parent 4e649b2 commit fe6b96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ protected function schedule(Schedule $schedule)
if ((bool)SettingsHelper::get('schedule_enabled')->value) {
$schedule->job(
new SpeedtestJob(
app()->make(SpeedtestProvider::class),
true,
config('integrations'),
app()->make(SpeedtestProvider::class)
)
)
->cron(SettingsHelper::get('schedule')['value'])
Expand Down

0 comments on commit fe6b96d

Please sign in to comment.