|
|
@ -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 |
|
|
|