fix: 크리에이터 관리자 콘텐츠 수정 - 태그 수정 기능
- 빈 칸인 경우 #으로 추가되는 버그 수정
This commit is contained in:
parent
97b2b38f8e
commit
5bdb101b52
|
@ -166,8 +166,8 @@ class CreatorAdminContentService(
|
|||
.replace("#", " #")
|
||||
.split(" ")
|
||||
.map { it.trim() }
|
||||
.map { if (it.startsWith("#")) it else "#$it" }
|
||||
.filter { it.isNotBlank() }
|
||||
.map { if (it.startsWith("#")) it else "#$it" }
|
||||
.distinct()
|
||||
|
||||
val currentContentTags = repository.findContentHashTagByContentIdAndIsActive(request.id, true)
|
||||
|
|
Loading…
Reference in New Issue