Refactor code for domain usage and validation

This commit is contained in:
Andras Bacsai committed 2024-04-08 12:15:44 +02:00
1 parent ddfded048c
commit 8bf0561009
5 files changed
+130 -70

No files matched your search

@@ -65,7 +65,7 @@ class ServiceApplicationView extends Component
public function submit()
{
try {
check_fqdn_usage($this->application);
check_domain_usage(resource: $this->application);
$this->validate();
$this->application->save();
updateCompose($this->application);