Skip to content

Commit 7839479

Browse files
committed
🚑 Fix config-key
1 parent dbd6d0f commit 7839479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Frontend/Transport/StatusController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function updateStatus(Request $request): JsonResponse|RedirectResponse {
6161
$arrivalDelay = abs($manualArrival->diffInHours($status->checkin->arrival));
6262
}
6363

64-
if ($departureDelay > config('trwl.max_delay_time') || $arrivalDelay > config('trwl.max_delay_time')) {
64+
if ($departureDelay > config('trwl.max_delay_hours') || $arrivalDelay > config('trwl.max_delay_hours')) {
6565
return back()->with('error', 'The delay of the manual arrival or departure is too high.');
6666
}
6767

0 commit comments

Comments
 (0)