Atualiza portal e admin com bloqueio de máquinas desativadas

This commit is contained in:
Esdras Renan 2025-10-18 00:02:15 -03:00
parent e5085962e9
commit 630110bf3a
31 changed files with 1756 additions and 244 deletions

View file

@ -160,6 +160,7 @@ export async function POST(request: Request) {
name: collaborator.name ?? collaborator.email,
tenantId,
companyId: companyRecord.id,
role: persona === "manager" ? "MANAGER" : "COLLABORATOR",
})
if (persona) {