From 0337c4e79d628d3a56ccd7ac030190d082ec1d81 Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:27:24 +0200 Subject: [PATCH] Fix submit method naming --- app/Livewire/Server/Form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index 2c96a4f16..7c176c952 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -203,10 +203,10 @@ public function submit() } refresh_server_connection($this->server->privateKey); $this->server->settings->wildcard_domain = $this->wildcard_domain; - if ($this->server->settings->force_server_cleanup) { - $this->server->settings->server_cleanup_frequency = $this->server->settings->server_cleanup_frequency; + if ($this->server->settings->force_docker_cleanup) { + $this->server->settings->docker_cleanup_frequency = $this->server->settings->docker_cleanup_frequency; } else { - $this->server->settings->server_cleanup_threshold = $this->server->settings->server_cleanup_threshold; + $this->server->settings->docker_cleanup_threshold = $this->server->settings->docker_cleanup_threshold; } $this->server->settings->save(); $this->server->save();