diff --git a/app/Http/Controllers/Api/V1/Admin/ApiAdminVoucherSetsController.php b/app/Http/Controllers/Api/V1/Admin/ApiAdminVoucherSetsController.php index b23caef5..d84dd78c 100644 --- a/app/Http/Controllers/Api/V1/Admin/ApiAdminVoucherSetsController.php +++ b/app/Http/Controllers/Api/V1/Admin/ApiAdminVoucherSetsController.php @@ -219,7 +219,7 @@ public function store(): JsonResponse Rule::exists('teams', 'id'), ], 'voucher_template_id' => [ - 'sometimes', + 'required', 'integer', Rule::exists('voucher_templates', 'id'), ],