From 768fe9548b6f6e668889c357ca6dcd2783f4e9b8 Mon Sep 17 00:00:00 2001 From: Marcus Haddon Date: Mon, 13 Nov 2023 11:12:22 -0800 Subject: [PATCH] fix schema syntax error --- server/src/core/server/graph/schema/schema.graphql | 7 +------ server/src/core/server/models/dsaReport/report.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/server/src/core/server/graph/schema/schema.graphql b/server/src/core/server/graph/schema/schema.graphql index ccb0938035..faafefb701 100644 --- a/server/src/core/server/graph/schema/schema.graphql +++ b/server/src/core/server/graph/schema/schema.graphql @@ -7221,7 +7221,7 @@ input RejectCommentInput { commentRevisionID: ID! """ - reason is the reason the comment is being rejected + reason is the reason the comment is being rejected if DSA features are enabled. """ reason: RejectCommentReasonInput @@ -7229,11 +7229,6 @@ input RejectCommentInput { clientMutationId is required for Relay support. """ clientMutationId: String! - - """ - reason is the reason the comment is being rejected if DSA features are enabled. - """ - reason: RejectCommentReasonInput } type RejectCommentPayload { diff --git a/server/src/core/server/models/dsaReport/report.ts b/server/src/core/server/models/dsaReport/report.ts index b3103113f9..269f454b60 100644 --- a/server/src/core/server/models/dsaReport/report.ts +++ b/server/src/core/server/models/dsaReport/report.ts @@ -111,7 +111,7 @@ export interface DSAReport extends TenantResource { * status keeps track of the current status of the DSA Report */ status: GQLDSAReportStatus; - + /** * history keeps track of the history of a DSAReport, including notes added, when status is changed, * and when an illegal content decision is made