diff --git a/src/app/api/integrations/fleet/hosts/route.ts b/src/app/api/integrations/fleet/hosts/route.ts index c351688..1b1b6d6 100644 --- a/src/app/api/integrations/fleet/hosts/route.ts +++ b/src/app/api/integrations/fleet/hosts/route.ts @@ -164,7 +164,7 @@ export async function POST(request: Request) { try { const result = await client.mutation(api.machines.upsertInventory, { - provisioningSecret: fleetSecret, + provisioningCode: fleetSecret, tenantId: DEFAULT_TENANT_ID, hostname, companySlug: undefined,