fix: 콘텐츠 업로드 - 제목과 내용에서 trim 함수를 적용하여 앞/뒤 빈칸 제거 #311

Merged
klaus merged 1 commits from test into main 2025-04-25 09:43:32 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 73edc0515f - Show all commits

View File

@ -200,8 +200,8 @@ class AudioContentService(
// DB에 값 추가 // DB에 값 추가
val audioContent = AudioContent( val audioContent = AudioContent(
title = request.title, title = request.title.trim(),
detail = request.detail, detail = request.detail.trim(),
price = if (request.price > 0) { price = if (request.price > 0) {
request.price request.price
} else { } else {