fix: layout de empresas e ajustes no fluxo de provisioning

This commit is contained in:
Esdras Renan 2025-10-15 23:44:00 -03:00
parent 444b910429
commit ce6c8fdb3a

View file

@ -4,7 +4,6 @@ import { ConvexHttpClient } from "convex/browser"
import { api } from "@/convex/_generated/api" import { api } from "@/convex/_generated/api"
import { env } from "@/lib/env" import { env } from "@/lib/env"
import { DEFAULT_TENANT_ID } from "@/lib/constants"
const fleetHostSchema = z.object({ const fleetHostSchema = z.object({
host: z host: z
@ -166,7 +165,6 @@ export async function POST(request: Request) {
const result = await client.mutation(api.machines.upsertInventory, { const result = await client.mutation(api.machines.upsertInventory, {
provisioningCode: fleetSecret, provisioningCode: fleetSecret,
hostname, hostname,
companySlug: undefined,
os: osInfo, os: osInfo,
macAddresses, macAddresses,
serialNumbers, serialNumbers,