fix(api): use name from request payload
In POST `/applications/dockercompose` the `name` parameter is required. The API thou ignores it and generates its own name for the service.
This commit is contained in:
committed by
Meghea Iulian
parent
3cf4d6364c
commit
57f0a7d400
@@ -1310,7 +1310,6 @@ class ApplicationsController extends Controller
|
||||
$service->destination_type = $destination->getMorphClass();
|
||||
$service->save();
|
||||
|
||||
$service->name = "service-$service->uuid";
|
||||
$service->parse(isNew: true);
|
||||
if ($instantDeploy) {
|
||||
StartService::dispatch($service);
|
||||
|
||||
Reference in New Issue
Block a user