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])) {
|
if (empty($this->uri[3])) {
|
||||||
$this->handleAllDomainsGetRequest();
|
$this->handleAllDomainsGetRequest();
|
||||||
} else {
|
} else {
|
||||||
if ($result = $this->domainRepository->findByName(name: $this->uri[3])) {
|
if ($result = $this->domainRepository->findById(id: $this->uri[3])) {
|
||||||
$domain = [
|
$domain = [
|
||||||
'id' => $result->getId(),
|
'id' => $result->getId(),
|
||||||
'name' => $result->getName(),
|
'name' => $result->getName(),
|
||||||
|
|
Loading…
Reference in New Issue