update api register

This commit is contained in:
Wian Drs
2026-08-01 11:42:42 +07:00
parent b0d08211ec
commit 75342dc7b7
55 changed files with 2254 additions and 35 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class AccessService
return true;
}
if (! $actor->isTenantOwner() || ! $tenantId || $target->isMasterAdmin()) {
if (! $actor->isTenantOwner($tenantId) || ! $tenantId || $target->isMasterAdmin()) {
return false;
}