Skip to content

Commit

Permalink
fix: Anonymous comments (#10206)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch authored Sep 10, 2024
1 parent e7d25ea commit 45501a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/graphql/public/mutations/addComment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const addComment: MutationResolvers['addComment'] = async (
.values({
id: commentId,
content,
isAnonymous: isAnonymous ?? undefined,
plaintextContent: extractTextFromDraftString(content),
createdBy: viewerId,
threadSortOrder,
Expand Down

0 comments on commit 45501a3

Please sign in to comment.