You've already forked isop-mirror
fix: correct transaction method call in user registration process
This commit is contained in:
@@ -47,7 +47,7 @@ class RegisteredUserController extends Controller
|
|||||||
'company_data.hiring' => ['required_if:role,EMPLOYER', 'boolean'],
|
'company_data.hiring' => ['required_if:role,EMPLOYER', 'boolean'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
DB::createTransaction();
|
DB::beginTransaction();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$user = User::create([
|
$user = User::create([
|
||||||
|
|||||||
Reference in New Issue
Block a user