Skip to content

Commit

Permalink
fix(*): added optional to redirectUrls (#2776)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy authored Oct 15, 2024
1 parent 5522e5c commit 17d9fd4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions services/workflows-service/src/workflow/schemas/zod-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ export const ConfigSchema = z
isChatbotEnabled: z.boolean().optional(),
uiOptions: z
.object({
redirectUrls: z.object({
success: z.string().url().optional(),
failure: z.string().url().optional(),
}),
redirectUrls: z
.object({
success: z.string().url().optional(),
failure: z.string().url().optional(),
})
.optional(),
})
.optional(),
})
Expand Down

0 comments on commit 17d9fd4

Please sign in to comment.