diff --git a/.scannerwork/.sonar_lock b/.scannerwork/.sonar_lock new file mode 100644 index 00000000..e69de29b diff --git a/.scannerwork/report-task.txt b/.scannerwork/report-task.txt new file mode 100644 index 00000000..142ac521 --- /dev/null +++ b/.scannerwork/report-task.txt @@ -0,0 +1,6 @@ +projectKey=kulak +serverUrl=http://localhost:9000 +serverVersion=26.4.0.121862 +dashboardUrl=http://localhost:9000/dashboard?id=kulak +ceTaskId=77035e85-cf5d-4771-ab8e-51da185429c5 +ceTaskUrl=http://localhost:9000/api/ce/task?id=77035e85-cf5d-4771-ab8e-51da185429c5 diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php index 74731668..babb4742 100644 --- a/app/Http/Controllers/Auth/RegisteredUserController.php +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -280,6 +280,7 @@ public function businessSetup(Request $request) DB::rollBack(); return response()->json([ 'message' => 'Something went wrong. Please contact the admin.', + 'error' => $th->getMessage(), ], 403); } }