FFilament•Created by JG on 7/22/2024 in #❓┊help Filament::getTenant() is null on AJAX calls
For web request routes it does this so it makes sure the tenant is set before:
public function getTenantMiddleware(): array
{
return [
IdentifyTenant::class,
...$this->tenantMiddleware,
];
}