Fix email digests
This commit is contained in:
parent
b0908035a7
commit
159f8e98d4
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class Digest extends Mailable
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->checkinsList = array_filter(
|
$this->checkinsList = array_filter(
|
||||||
$trip->checkinsList,
|
$trip->checkins,
|
||||||
function ($elem) use ($cutoffDateTime) {
|
function ($elem) use ($cutoffDateTime) {
|
||||||
$elemDateTime = new DateTime($elem->created_at);
|
$elemDateTime = new DateTime($elem->created_at);
|
||||||
return $elemDateTime > $cutoffDateTime;
|
return $elemDateTime > $cutoffDateTime;
|
||||||
|
|
Loading…
Reference in a new issue