feat: Implement chapter and lesson management with new services and types, and introduce Minio service.

This commit is contained in:
JakkrapartXD 2026-01-20 13:39:42 +07:00
parent 40b95ad902
commit 6bbbde062a
8 changed files with 382 additions and 6 deletions

View file

@ -143,7 +143,7 @@ export class CoursesInstructorService {
const course = await prisma.course.update({
where: {
id: courseInstructorId.user_id
id: courseId
},
data: courseData
});
@ -167,7 +167,7 @@ export class CoursesInstructorService {
const course = await prisma.course.delete({
where: {
id: courseInstructorId.user_id
id: courseId
}
});
return {