Skip to content

Commit

Permalink
use the right field
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulJKim committed Nov 13, 2024
1 parent a4db738 commit 9ca909b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/predictions/predictions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defmodule Predictions.Predictions do
|> Stream.map(&prediction_from_update(&1, current_time))
|> Enum.reject(
&((is_nil(&1.seconds_until_arrival) and is_nil(&1.seconds_until_departure) and
is_nil(&1.passthrough_time)) or
is_nil(&1.seconds_until_passthrough)) or
has_departed?(&1))
)

Expand Down

0 comments on commit 9ca909b

Please sign in to comment.