Skip to content

basalt / tenancy/src / requireTenant

Function: requireTenant() ​

> requireTenant(): Tenant

Defined in: tenancy/src/scoped.ts:21

Fail-closed: the tenant of the active context, or throw TenantRequiredError.

Returns ​

Tenant

Released under the MIT License.