tanaman conteoller
This commit is contained in:
@@ -118,7 +118,7 @@ class TanamanController extends Controller
|
||||
'latitude' => ['nullable', 'numeric', 'between:-90,90', 'required_with:longitude'],
|
||||
'longitude' => ['nullable', 'numeric', 'between:-180,180', 'required_with:latitude'],
|
||||
'kondisi_tanaman' => ['nullable', 'string', new Enum(KondisiTanaman::class)],
|
||||
'uid' => ['nullable', 'string'],
|
||||
'uid' => ['required', 'string'],
|
||||
]);
|
||||
|
||||
$tanaman = Tanaman::create([
|
||||
|
||||
Reference in New Issue
Block a user