diff --git a/Modules/CCMS/app/Http/Controllers/FranchiseController.php b/Modules/CCMS/app/Http/Controllers/FranchiseController.php index a6c5191..b3575c8 100644 --- a/Modules/CCMS/app/Http/Controllers/FranchiseController.php +++ b/Modules/CCMS/app/Http/Controllers/FranchiseController.php @@ -65,7 +65,7 @@ class FranchiseController extends Controller return response()->json(['errors' => $validator->errors()], 422); } - Franchise::create($validator->validated()); + Franchise::create($request->all()); return response()->json(['status' => 200, 'message' => "Thank you for reaching out! Your message has been received and we'll get back to you shortly."], 200); } catch (\Exception $e) {