Skip to content

Commit dc6a398

Browse files
committed
feat: expose course contributors via public API DTO
1 parent c4b1766 commit dc6a398

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎server/public-api-dto.mjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export function publicCourseDto(course, reviewGroups, manifest) {
217217
review_count: ratings.count,
218218
offering_count: teacherGroups.length,
219219
ratings,
220+
contributors: stringList(course.contributors, 20, 40),
220221
updated: text(course.updated, 80),
221222
};
222223
}

0 commit comments

Comments
 (0)