We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e1a4d9 + 90223e0 commit dd95068Copy full SHA for dd95068
1 file changed
src/main/java/com/example/FixLog/service/TagService.java
@@ -29,7 +29,8 @@ public TagResponseDto viewTags(int page, int size){
29
List<TagDto> tagList = tags.stream()
30
.map(tag -> new TagDto(
31
tag.getTagName(),
32
- tag.getTagInfo()
+ tag.getTagInfo().length() > 100
33
+ ? tag.getTagInfo().substring(0, 100) + "..." : tag.getTagInfo()
34
))
35
.collect(Collectors.toList());
36
0 commit comments