opencode-agent[bot] 4 месяцев назад
Родитель
Сommit
374951bf60
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/console/app/src/routes/honeycomb/webhook.ts

+ 4 - 1
packages/console/app/src/routes/honeycomb/webhook.ts

@@ -13,7 +13,10 @@ const basePayload = z.object({
 })
 
 const groups = z
-  .object({ result: z.union([z.number(), z.string()]).nullish(), group: z.object({ key: z.string(), value: z.string() }).array() })
+  .object({
+    result: z.union([z.number(), z.string()]).nullish(),
+    group: z.object({ key: z.string(), value: z.string() }).array(),
+  })
   .array()
 
 const honeycombWebhookPayload = z.discriminatedUnion("type", [