1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 12:34:03 +00:00

Remove request from tenant manager

This commit is contained in:
antonkomarev 2019-09-27 00:13:25 +03:00
parent cacf239801
commit cfa9514dfb
2 changed files with 2 additions and 3 deletions

View file

@ -29,7 +29,7 @@ class InitializeTenancy
public function handle($request, Closure $next)
{
try {
tenancy()->init();
tenancy()->init($request->getHost());
} catch (TenantCouldNotBeIdentifiedException $e) {
($this->onFail)($e);
}