graph2: Changed addComment error message on can-comment check to be consistent with others.
the build was successful
the build was successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user