Fix email digests by removing (unused) location property
This commit is contained in:
parent
e81460781b
commit
3144511104
2 changed files with 1 additions and 9 deletions
|
@ -64,14 +64,6 @@ class Digest extends Mailable
|
|||
default:
|
||||
}
|
||||
|
||||
$this->locations = array_filter(
|
||||
$trip->locations,
|
||||
function ($elem) use ($cutoffDateTime) {
|
||||
$elemDateTime = new DateTime($elem->created_at);
|
||||
return $elemDateTime > $cutoffDateTime;
|
||||
}
|
||||
);
|
||||
|
||||
$this->checkinsList = array_filter(
|
||||
$trip->checkins,
|
||||
function ($elem) use ($cutoffDateTime) {
|
||||
|
|
Loading…
Reference in a new issue