From bd07fd5a6e68c5cd37ebd7b47ad3089396bb21d8 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <p.gawron@atcomp.pl>
Date: Thu, 6 Jun 2024 12:58:24 +0200
Subject: [PATCH] owner is not mandatory

---
 src/models/commentSchema.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/models/commentSchema.ts b/src/models/commentSchema.ts
index 191a682c..c14af126 100644
--- a/src/models/commentSchema.ts
+++ b/src/models/commentSchema.ts
@@ -16,5 +16,5 @@ export const commentSchema = z.object({
   elementId: z.string(),
   id: z.number(),
   pinned: z.boolean(),
-  owner: z.string().optional(),
+  owner: z.string().nullable().optional(),
 });
-- 
GitLab