Skip to content

Commit

Permalink
rename colum from 'failed' to 'status' in scopeFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
ricventu authored and romanzipp committed Sep 9, 2024
1 parent 786d649 commit 9583ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9583ea5

Please sign in to comment.