Skip to content

Commit

Permalink
ENH:enables update name for course in update course
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyasMandlik committed Jul 3, 2023
1 parent cae6837 commit 76a7c31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/course/course.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export class CourseService {
const updateCourseResponse = await this.prismaService.course.update({
where: { id: id },
data: {
name:updateCourse.name,
resourseUrls: updateCourse.resourseUrls,
imageUrl: updateCourse.imageUrl,
testUrls: updateCourse.testUrls,
Expand Down

0 comments on commit 76a7c31

Please sign in to comment.