From 3d67c9956797347cdf71bbddff399464a8453733 Mon Sep 17 00:00:00 2001 From: Nikola Cirkovic Date: Fri, 27 May 2022 02:50:50 +0200 Subject: [PATCH] INA-5 | replace archived with is_deleted property --- app/Jobs/Ninja/TaskScheduler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Ninja/TaskScheduler.php b/app/Jobs/Ninja/TaskScheduler.php index 135f30cf1e..af7f74efaf 100644 --- a/app/Jobs/Ninja/TaskScheduler.php +++ b/app/Jobs/Ninja/TaskScheduler.php @@ -121,7 +121,7 @@ class TaskScheduler implements ShouldQueue private function fetchJobs() { return Scheduler::where('paused', false) - ->where('archived', false) + ->where('is_deleted', false) ->whereDate('scheduled_run', '<=', Carbon::now()) ->cursor(); }