feat(web): fix LGU edit validation and update drop-off point seeders and validation

This commit is contained in:
ramram1515
2026-07-06 15:25:58 +08:00
parent 90ff51542e
commit a205ec7c43
6 changed files with 64 additions and 47 deletions

View File

@@ -16,7 +16,7 @@ class DropOffPointController extends ApiController
$data = $request->validate([
'lat' => ['required', 'numeric', 'between:-90,90'],
'lng' => ['required', 'numeric', 'between:-180,180'],
'radius_km' => ['nullable', 'numeric', 'min:0.1', 'max:50'],
'radius_km' => ['nullable', 'numeric', 'min:0.1', 'max:25000'],
'limit' => ['nullable', 'integer', 'min:1', 'max:50'],
]);