From e3918002a5427e533cb9c1bbe042dd67c58ceafd Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Tue, 12 Nov 2024 16:33:50 +0100 Subject: [PATCH] Attempt to fix startup tests --- frontend/src/lib/utils/schemas.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/utils/schemas.ts b/frontend/src/lib/utils/schemas.ts index bb2446cb0..59b05e601 100644 --- a/frontend/src/lib/utils/schemas.ts +++ b/frontend/src/lib/utils/schemas.ts @@ -351,7 +351,8 @@ export const representativeSchema = z.object({ description: z.string().optional() }); -export const vulnerabilitySchema = baseNamedObject({ +export const vulnerabilitySchema = z.object({ + ...NameDescriptionMixin, folder: z.string(), ref_id: z.string().optional().default(''), status: z.string().default('--'),