diff --git a/graph2/queries/comment.go b/graph2/queries/comment.go index 5f314c7..c37d948 100644 --- a/graph2/queries/comment.go +++ b/graph2/queries/comment.go @@ -39,7 +39,7 @@ func (r *mutationResolver) AddComment(ctx context.Context, input input.CommentAd } if !chapter.CanComment() { - return models.Comment{}, errors.New("You cannot comment on this chapter") + return models.Comment{}, errors.New("Comments are disabled or locked") } var characterPtr *models.Character