Merged in fix/redis-api-model-validation (pull request #2000)

* fix: model response validation for 204
* log: add more logging when deleting keys
* add version to health endpoint


Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-05-07 13:45:35 +00:00
parent bf7992da5b
commit 3ea26259df
5 changed files with 62 additions and 23 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export const env = createEnv({
},
createFinalSchema: (shape) => {
return z.object(shape).transform((env, ctx) => {
if (!env.SENTRY_ENABLED || !env.SENTRY_DSN) {
if (env.SENTRY_ENABLED && !env.SENTRY_DSN) {
ctx.addIssue({
code: z.ZodIssueCode.custom,
message: