fix: use Record<string,any> for task body to allow boolean showDate

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-01 15:23:43 +09:00
parent db93157633
commit f6a7fab234

View File

@@ -57,7 +57,7 @@ router.post('/', async (req, res, next) => {
try {
const { title, description, status, priority, quarter, category,
section, tag, taskType, progress, issueNote, startDate, dueDate, assigneeId, showDate } =
req.body as Record<string, string>;
req.body as Record<string, any>;
if (!title || !quarter) {
throw new AppError(400, '제목과 분기는 필수입니다.');