stancl / tenancy-docs

stancl/tenancy docs & website
https://tenancyforlaravel.com/docs
MIT License
64 stars 633 forks source link

Sponsor Docs: Clarification on Nova Config Middleware #244

Closed caseydwyer closed 1 year ago

caseydwyer commented 1 year ago

Hey there,

Wasn't sure where to put this issue, but I think that this piece of the Sponsored docs should indicate that both the middleware and the api_middleware arrays should have that tenant + universal addition.

image

ie, so it should look like this:

'middleware' => [
    'tenant',
    'universal',
    'web',
    ...,
],

'api_middleware' => [
    'nova',
    'tenant',
    'universal',
    ...,
],

Thanks again for building a great product!

stancl commented 1 year ago

Updated, thanks for letting me know!