We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924f48a commit 0fb639bCopy full SHA for 0fb639b
packages/backend/src/resolvers/comment.resolver.ts
@@ -70,6 +70,7 @@ export const commentResolver: GqlResolvers<AuthenticatedContext> = {
70
? {
71
...report,
72
comments: report?.comments.map((com) => {
73
+ if (com.published == null) com.published = true
74
if (com.published === false) {
75
return com
76
} else {
packages/backend/src/resolvers/trainer.resolver.ts
@@ -35,6 +35,7 @@ export const trainerResolver: GqlResolvers<TrainerContext> = {
35
36
37
38
39
40
41
0 commit comments