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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user