This commit is contained in:
2025-08-22 11:45:38 +05:45
parent 1a744e1e2f
commit 724f46a82c

View File

@@ -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) {