fix: layout de empresas e ajustes no fluxo de provisioning
This commit is contained in:
parent
444b910429
commit
ce6c8fdb3a
1 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue