Access to the tenantId in the panel or middleware of a package
Is it possible to get the current tenantId in the panel or middleware of a Filament plugin? Haven't been able to get it yet, I'm curious if it's possible at all.
use Filament\Facades\Filament;
$tenantId = Filament::getTenant()->id;