diff --git a/app/Console/Commands/GetAircraftInfoForArrivedFlights.php b/app/Console/Commands/GetAircraftInfoForArrivedFlights.php index 7062f3b..8e30b66 100644 --- a/app/Console/Commands/GetAircraftInfoForArrivedFlights.php +++ b/app/Console/Commands/GetAircraftInfoForArrivedFlights.php @@ -169,7 +169,7 @@ class GetAircraftInfoForArrivedFlights extends Command $fromLabel = $from ?: 'None'; if (!$apiValue) { - return "{$label}: {$fromLabel} (not returned by API — no change)"; + return "{$label}: {$fromLabel} (could not find — no change)"; } if (!$applied) { @@ -186,7 +186,7 @@ class GetAircraftInfoForArrivedFlights extends Command if (!$toLocal) { $fromLabel = $fromLocal ? $this->formatFlightTime($fromLocal) : 'Unknown'; - return "{$label}: {$fromLabel} (not returned by API — no change)"; + return "{$label}: {$fromLabel} (could not find — no change)"; } if (!$applied) { diff --git a/app/Enums/FlightNotificationType.php b/app/Enums/FlightNotificationType.php index ffe21d5..7f935ed 100644 --- a/app/Enums/FlightNotificationType.php +++ b/app/Enums/FlightNotificationType.php @@ -51,7 +51,7 @@ enum FlightNotificationType: string { return match ($this) { self::Cancelled => route('profile.view', [$flight->user->name]), - self::Departed, self::Arrived => route('profile.flight', ['user' => $flight->user->id, 'userFlight' => $flight->id]), + self::Departed, self::Arrived => route('profile.flight', ['user' => $flight->user->name, 'userFlight' => $flight->id]), default => route('profile.departure-board', [$flight->user->name, $flight->id]), }; }