Skip to content

Commit

Permalink
EW-994 modified api description
Browse files Browse the repository at this point in the history
  • Loading branch information
Fshmit committed Aug 15, 2024
1 parent d0cca20 commit 4536f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<CourseCommonCartridgeMetadataResponse> {
Expand Down
1 change: 1 addition & 0 deletions apps/server/src/modules/learnroom/mapper/course.mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class CourseMapper {
teachers,
courseMetadata.startDate
);

return courseCCMetadataResopne;
}
}

0 comments on commit 4536f38

Please sign in to comment.