Updated scheduled tasks

This commit is contained in:
2026-07-03 12:21:09 +10:00
parent 85c587cb1e
commit 598c10c926
2 changed files with 3 additions and 3 deletions
@@ -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) {
+1 -1
View File
@@ -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]),
};
}