diff --git a/app/Http/Controllers/SubscriptionStepsController.php b/app/Http/Controllers/SubscriptionStepsController.php index 757ef993dab2..81243ffbbba4 100644 --- a/app/Http/Controllers/SubscriptionStepsController.php +++ b/app/Http/Controllers/SubscriptionStepsController.php @@ -1,16 +1,25 @@ map(fn($dependency) => [ 'id' => $dependency['id'], @@ -22,4 +31,13 @@ class SubscriptionStepsController extends BaseController return response()->json($dependencies); } + + public function check(): JsonResponse + { + request()->validate(([ + 'steps' => ['required', new Steps()] + ])); + + return response()->json([], 200); + } }