fix(persistence-service): add fallbacks for environments related schemas (#3832)

This commit is contained in:
James George
2024-02-15 23:38:56 +05:30
committed by GitHub
parent ed6e9b6954
commit 4bd54b12cd
4 changed files with 18 additions and 4 deletions

View File

@@ -233,7 +233,7 @@ const EnvironmentVariablesSchema = z.union([
z.object({
key: z.string(),
value: z.string(),
secret: z.literal(false),
secret: z.literal(false).catch(false),
}),
z.object({
key: z.string(),