RED-7185 - RM-46 - Error message when adjusting the Justification

- add checkComment in addComment when making changes to a redaction
This commit is contained in:
Corina Olariu 2023-09-26 15:01:39 +03:00
parent 353e0a91e7
commit 91ffe50781

View File

@ -119,6 +119,7 @@ public class CommentService {
if (comment == null) { if (comment == null) {
return null; return null;
} }
checkComment(comment);
return commentPersistenceService.insert(CommentEntity.builder() return commentPersistenceService.insert(CommentEntity.builder()
.text(comment) .text(comment)