Skip to content

Commit 5f5c312

Browse files
committed
feat(course): restrict download link endpoint to premium users
1 parent d1d3234 commit 5f5c312

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/course/course.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class CourseController {
116116
type: GenerateDownloadLinkResponse
117117
})
118118
@Authorization()
119-
// @PremiumOnly()
119+
@PremiumOnly()
120120
@Post(':id/download-link')
121121
@HttpCode(HttpStatus.OK)
122122
public async generateDownloadLink(

0 commit comments

Comments
 (0)