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, ]);