diff --git a/application/app/Http/Controllers/API/EventsController.php b/application/app/Http/Controllers/API/EventsController.php index 65aed47..8c3ac64 100644 --- a/application/app/Http/Controllers/API/EventsController.php +++ b/application/app/Http/Controllers/API/EventsController.php @@ -46,8 +46,6 @@ public function store(Request $request): Response // Intentionally throw error after saving } catch (UniqueConstraintViolationException) {} - throw new \Exception('Test error'); - return response()->noContent(200); } }