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.
2 parents 1ffdcfe + 6c2ae44 commit 80ce3e2Copy full SHA for 80ce3e2
packages/backend/src/resolvers/comment.resolver.ts
@@ -74,7 +74,6 @@ export const commentResolver: GqlResolvers<AuthenticatedContext> = {
74
? {
75
...report,
76
comments: report?.comments.map((com) => {
77
- if (com.published == null) com.published = true
78
if (com.published === false) {
79
return com
80
} else {
packages/backend/src/resolvers/trainer.resolver.ts
@@ -35,7 +35,6 @@ export const trainerResolver: GqlResolvers<TrainerContext> = {
35
36
37
38
39
40
41
0 commit comments