Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(applications): remove redundant error response in create_env method

Andras Bacsai4ea00cff310f
diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php
index aa5f2ff148..f25f63b110 100644
--- a/app/Http/Controllers/Api/ApplicationsController.php
+++ b/app/Http/Controllers/Api/ApplicationsController.php
@@ -2562,10 +2562,6 @@ class ApplicationsController extends Controller
])->setStatusCode(201);
}
}
-
- return response()->json([
- 'message' => 'Something went wrong.',
- ], 500);
}
#[OA\Delete(