Updated scheduled tasks
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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]),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user