diff --git a/apps/server/src/modules/learnroom/controller/course.controller.ts b/apps/server/src/modules/learnroom/controller/course.controller.ts index 808326a5f58..074c077665d 100644 --- a/apps/server/src/modules/learnroom/controller/course.controller.ts +++ b/apps/server/src/modules/learnroom/controller/course.controller.ts @@ -133,7 +133,7 @@ export class CourseController { } @Get(':courseId') - @ApiOperation({ summary: 'Get a course by Id.' }) + @ApiOperation({ summary: 'Get common cartridge metadata of a course by Id.' }) @ApiBadRequestResponse({ description: 'Request data has invalid format.' }) @ApiInternalServerErrorResponse({ description: 'Internal server error.' }) public async getCourseById(@Param() param: CourseUrlParams): Promise { diff --git a/apps/server/src/modules/learnroom/mapper/course.mapper.ts b/apps/server/src/modules/learnroom/mapper/course.mapper.ts index 00d85db6613..b87bcbff711 100644 --- a/apps/server/src/modules/learnroom/mapper/course.mapper.ts +++ b/apps/server/src/modules/learnroom/mapper/course.mapper.ts @@ -26,6 +26,7 @@ export class CourseMapper { teachers, courseMetadata.startDate ); + return courseCCMetadataResopne; } }