Save user flights
This commit is contained in:
+1
-4
@@ -34,12 +34,9 @@ Route::domain(config('app.domain'))->group(
|
||||
Route::get('/reconcile', function () {
|
||||
$flight = new FlightImportController()->reconcile(request());
|
||||
|
||||
if (!$flight) {
|
||||
return redirect('/import/fr24');
|
||||
}
|
||||
|
||||
return Inertia::render('ReconcileFlight', [
|
||||
'flight' => $flight,
|
||||
'key' => $flight['imported_flight_id'],
|
||||
]);
|
||||
})->name('reconcile');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user