mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 13:19:09 +00:00
wip
This commit is contained in:
1 parent
2c90707e28
commit
01843173bc
1 file changed
+8
@@ -34,6 +34,14 @@ class GetUserDetailsController extends AdminController
|
||||
}
|
||||
|
||||
$promise->then(function ($user) use ($httpConnection) {
|
||||
if (is_null($user)) {
|
||||
$httpConnection->send(
|
||||
respond_json([], 404)
|
||||
);
|
||||
|
||||
$httpConnection->close();
|
||||
return;
|
||||
}
|
||||
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
|
||||
->then(function ($subdomains) use ($httpConnection, $user) {
|
||||
$httpConnection->send(
|
||||
|
||||
Reference in new issue
Block a user