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.

simplify uuid variabel

ayntk-ai53dff4ca4f6f
diff --git a/app/Actions/Service/DeleteService.php b/app/Actions/Service/DeleteService.php
index 521a70e838..1862009933 100644
--- a/app/Actions/Service/DeleteService.php
+++ b/app/Actions/Service/DeleteService.php
@@ -47,14 +47,14 @@ class DeleteService
}
if ($deleteConnectedNetworks) {
- $uuid = $service->uuid;
- $service->delete_connected_networks($uuid);
+ $service->delete_connected_networks($service->uuid);
}
$commands[] = "docker rm -f $service->uuid";
// Executing remaining commands
instant_remote_process($commands, $server, false);
+
} catch (\Exception $e) {
throw new \Exception($e->getMessage());
} finally {