--- lib/domain/content-form.ts
+++ lib/domain/content-form.ts
... | ... | @@ -56,11 +56,11 @@ |
| 56 | 56 |
gradesBySchool: GradesBySchool; |
| 57 | 57 |
}; |
| 58 | 58 |
|
| 59 |
+// 전달 메시지(해설)는 기획에서 빠졌다 — 만화는 그대로라 그쪽에만 남는다. |
|
| 59 | 60 |
export type ShortsFormValues = GradeSelection & {
|
| 60 | 61 |
title: string; |
| 61 | 62 |
subject: string; |
| 62 | 63 |
keywords: ContentKeyword[]; |
| 63 |
- message: string; |
|
| 64 | 64 |
videoFileId: string; |
| 65 | 65 |
thumbnailFileId: string; |
| 66 | 66 |
isVisible: boolean; |
... | ... | @@ -175,13 +175,6 @@ |
| 175 | 175 |
'제목을 입력해 주세요.', |
| 176 | 176 |
errors |
| 177 | 177 |
); |
| 178 |
- const message = requireText( |
|
| 179 |
- values.message, |
|
| 180 |
- MESSAGE_MAX_LENGTH, |
|
| 181 |
- 'message', |
|
| 182 |
- '전달 메시지(해설)를 입력해 주세요.', |
|
| 183 |
- errors |
|
| 184 |
- ); |
|
| 185 | 178 |
const keywords = normalizeKeywords(values.keywords); |
| 186 | 179 |
validateKeywords(keywords, errors); |
| 187 | 180 |
|
... | ... | @@ -194,7 +187,6 @@ |
| 194 | 187 |
...values, |
| 195 | 188 |
title, |
| 196 | 189 |
subject: values.subject.trim().slice(0, SUBJECT_MAX_LENGTH), |
| 197 |
- message, |
|
| 198 | 190 |
keywords, |
| 199 | 191 |
}, |
| 200 | 192 |
}; |
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?