Merge pull request #7581 from tchak/fix-gon-type

fix(gon): matomo key can be a number
This commit is contained in:
Paul Chavard 2022-07-18 16:19:21 +02:00 committed by GitHub
commit 5abc17fe74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ const Gon = z
domain: z.string().optional(),
enabled: z.boolean().default(false),
host: z.string().optional(),
key: z.string().nullish()
key: z.string().or(z.number()).nullish()
})
.default({}),
sentry: z