Skip to content

Commit 374951b

Browse files
chore: generate
1 parent 2e94f50 commit 374951b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/console/app/src/routes/honeycomb

packages/console/app/src/routes/honeycomb/webhook.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ const basePayload = z.object({
1313
})
1414

1515
const groups = z
16-
.object({ result: z.union([z.number(), z.string()]).nullish(), group: z.object({ key: z.string(), value: z.string() }).array() })
16+
.object({
17+
result: z.union([z.number(), z.string()]).nullish(),
18+
group: z.object({ key: z.string(), value: z.string() }).array(),
19+
})
1720
.array()
1821

1922
const honeycombWebhookPayload = z.discriminatedUnion("type", [

0 commit comments

Comments
 (0)