Skip to content

Commit

Permalink
fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tomahock committed Jul 9, 2024
1 parent c458e5d commit 6eb6eb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Jobs/CleanICNFFires.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use App\Models\Incident;
use Carbon\Carbon;
use Illuminate\Support\Facades\Log;

class CleanICNFFires extends Job
{
Expand Down Expand Up @@ -31,6 +32,7 @@ public function handle()
$diff = $incident->created->diffInMinutes($now);
if($diff > 60){
$incident->active = false;
$incident->save();
}
}
}
Expand Down

0 comments on commit 6eb6eb7

Please sign in to comment.