mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-16 06:55:56 +00:00
wip
This commit is contained in:
@@ -34,6 +34,14 @@ class GetUserDetailsController extends AdminController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$promise->then(function ($user) use ($httpConnection) {
|
$promise->then(function ($user) use ($httpConnection) {
|
||||||
|
if (is_null($user)) {
|
||||||
|
$httpConnection->send(
|
||||||
|
respond_json([], 404)
|
||||||
|
);
|
||||||
|
|
||||||
|
$httpConnection->close();
|
||||||
|
return;
|
||||||
|
}
|
||||||
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
|
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
|
||||||
->then(function ($subdomains) use ($httpConnection, $user) {
|
->then(function ($subdomains) use ($httpConnection, $user) {
|
||||||
$httpConnection->send(
|
$httpConnection->send(
|
||||||
|
|||||||
Reference in New Issue
Block a user