From 23190e49081df416b3838048975bcc0a8721e5a0 Mon Sep 17 00:00:00 2001 From: Luca Longo Date: Tue, 30 Jul 2024 13:00:05 +0200 Subject: [PATCH] Update base-installation.md --- docs/installation/base-installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/base-installation.md b/docs/installation/base-installation.md index 20c3d75..7f63809 100644 --- a/docs/installation/base-installation.md +++ b/docs/installation/base-installation.md @@ -144,7 +144,7 @@ return Application::configure(basePath: dirname(__DIR__)) // ... ->withMiddleware(function (Middleware $middleware) { $middleware - ->appendToGroup('web', [ + ->web(append: [ \Spatie\Multitenancy\Http\Middleware\NeedsTenant::class, \Spatie\Multitenancy\Http\Middleware\EnsureValidTenantSession::class, ]);