changed domain name => id

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-02-06 19:00:30 +01:00
parent f70e87afce
commit d6cdc7b5a2

View File

@ -295,7 +295,7 @@ class RequestController
if (empty($this->uri[3])) {
$this->handleAllDomainsGetRequest();
} else {
if ($result = $this->domainRepository->findByName(name: $this->uri[3])) {
if ($result = $this->domainRepository->findById(id: $this->uri[3])) {
$domain = [
'id' => $result->getId(),
'name' => $result->getName(),