diff --git a/src/Models/Monitor.php b/src/Models/Monitor.php index f3faac1..e0cfd1f 100644 --- a/src/Models/Monitor.php +++ b/src/Models/Monitor.php @@ -110,7 +110,7 @@ public function scopeToday(Builder $query): void public function scopeFailed(Builder $query): void { - $query->where('failed', MonitorStatus::FAILED); + $query->where('status', MonitorStatus::FAILED); } public function scopeSucceeded(Builder $query): void