Skip to content

[4.x] Document the InitializeTenancyByRequestData payload priority #246

@lukinovec

Description

@lukinovec

In this part of the docs, add a note that says that if the request has multiple payload types (e.g., the request has both the 'X-Tenant' header and cookie), the first type will get used. The priority of the types is header > query parameter > cookie.

https://github.com/tenancy-for-laravel/v4/pull/3#discussion_r1181373786

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions