advance
This commit is contained in:
1
lib/data/teacherCourses.ts
Normal file → Executable file
1
lib/data/teacherCourses.ts
Normal file → Executable file
@@ -92,6 +92,7 @@ export const createTeacherCourse = (input: TeacherCourseInput, reservedSlugs: st
|
||||
slug,
|
||||
title: input.title,
|
||||
level: input.level,
|
||||
status: "Draft",
|
||||
summary: input.summary,
|
||||
rating: 5,
|
||||
weeks: Math.max(1, input.weeks),
|
||||
|
||||
Reference in New Issue
Block a user