From 013e2d9319b498c246fd6b0fc538ef6fc6a1e522 Mon Sep 17 00:00:00 2001 From: sayaliparab Date: Tue, 15 Apr 2025 16:27:43 +0530 Subject: [PATCH] validation --- app/Http/Requests/CreateAssetRequest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Requests/CreateAssetRequest.php b/app/Http/Requests/CreateAssetRequest.php index 6a83beb..5fa09ee 100644 --- a/app/Http/Requests/CreateAssetRequest.php +++ b/app/Http/Requests/CreateAssetRequest.php @@ -28,12 +28,12 @@ class CreateAssetRequest extends FormRequest // 'tenant_id' => 'required|uuid', 'customer_xid' => 'required|uuid', 'name' => 'required|string|max:255', - 'type' => 'required|string|max:255', + // 'type' => 'required|string|max:255', 'label' => 'nullable|string|max:255', // 'asset_profile_id' => 'required|uuid', - 'external_id' => 'nullable|uuid', - 'version' => 'nullable|integer|min:1', - // 'additional_info' => 'nullable|json', + // 'external_id' => 'nullable|uuid', + // 'version' => 'nullable|integer|min:1', + 'additional_info' => 'nullable|json', ]; } } -- 2.34.1