mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:24:05 +00:00
Fixed styling
This commit is contained in:
parent
a6d43cb5e2
commit
432dd8fd1d
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ namespace Stancl\Tenancy\Middleware;
|
|||
use Closure;
|
||||
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
||||
|
||||
class InitializeTenancy
|
||||
class InitializeTenancyByRequestData
|
||||
{
|
||||
/** @var callable */
|
||||
protected $onFail;
|
||||
|
|
@ -28,7 +28,7 @@ class InitializeTenancy
|
|||
*/
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if(request()->method() !== 'OPTIONS') {
|
||||
if (request()->method() !== 'OPTIONS') {
|
||||
try {
|
||||
$this->parseTenant();
|
||||
} catch (TenantCouldNotBeIdentifiedException $e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue