changed domain name => id
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
f70e87afce
commit
d6cdc7b5a2
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user