Skip to content

Commit

Permalink
Fixed get comment/thread subscriptions return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha committed Aug 30, 2024
1 parent c136976 commit 4f8fd04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libs/schemas/src/entities/notification.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export const ThreadSubscription = z.object({
}),
}),
)
.optional(),
.optional()
.nullish(),
});

export const CommentSubscription = z.object({
Expand Down Expand Up @@ -110,7 +111,8 @@ export const CommentSubscription = z.object({
}),
}),
)
.optional(),
.optional()
.nullish(),
}),
)
.optional(),
Expand Down

0 comments on commit 4f8fd04

Please sign in to comment.