mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
Merge branch 'master' of github.com:beyondcode/phunnel
This commit is contained in:
commit
c23af81668
1 file changed
+3
-3
@@ -33,8 +33,8 @@ class GetUserDetailsController extends AdminController
|
||||
$promise = $this->userRepository->getUserById($id);
|
||||
}
|
||||
|
||||
$promise->then(function ($user) use ($httpConnection, $request) {
|
||||
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
|
||||
$promise->then(function ($user) use ($httpConnection) {
|
||||
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
|
||||
->then(function ($subdomains) use ($httpConnection, $user) {
|
||||
$httpConnection->send(
|
||||
respond_json([
|
||||
@@ -45,6 +45,6 @@ class GetUserDetailsController extends AdminController
|
||||
|
||||
$httpConnection->close();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user