From 14f6a92c6a6658dfc2f1fed482a3c507b80fff2a Mon Sep 17 00:00:00 2001 From: "fauzgabriel@gmail.com" Date: Tue, 21 Apr 2026 16:38:23 +0700 Subject: [PATCH] lahan to map_lahan --- app/Http/Controllers/Api/InspeksiLahanController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/InspeksiLahanController.php b/app/Http/Controllers/Api/InspeksiLahanController.php index e1b15f0..9ca38cf 100644 --- a/app/Http/Controllers/Api/InspeksiLahanController.php +++ b/app/Http/Controllers/Api/InspeksiLahanController.php @@ -45,7 +45,7 @@ class InspeksiLahanController extends Controller $validated = $request->validate([ 'petani_id' => 'required|exists:users,id', - 'lahan_id' => 'required|exists:lahan,id', + 'lahan_id' => 'required|exists:map_lahan,id', 'air' => 'nullable|string', 'ph' => 'nullable|numeric|between:0,14', 'humidity' => 'nullable|string',