parent
7e5810a936
commit
7ad82a44b4
|
@ -383,6 +383,7 @@ class RequestController
|
||||||
if ($result = $this->domainRepository->insert(domain: $domain)) {
|
if ($result = $this->domainRepository->insert(domain: $domain)) {
|
||||||
$this->header = "201 Created";
|
$this->header = "201 Created";
|
||||||
$this->status = "201 Created";
|
$this->status = "201 Created";
|
||||||
|
$this->domainController->createSlaveZoneFile(domain: $domain);
|
||||||
} else {
|
} else {
|
||||||
$this->header = "500 Server error";
|
$this->header = "500 Server error";
|
||||||
$this->status = "500 Server error";
|
$this->status = "500 Server error";
|
||||||
|
|
Loading…
Reference in New Issue