hoàn thành tích hợp FSRS

This commit is contained in:
2026-04-26 19:31:29 +07:00
parent a573acedd0
commit 8459801ca9
33 changed files with 997 additions and 185 deletions
+16
View File
@@ -0,0 +1,16 @@
--- apps/server/src/core/page/page.controller.ts
+++ apps/server/src/core/page/page.controller.ts
@@ -650,7 +650,8 @@
@HttpCode(HttpStatus.OK)
@Post('review')
- async review(@Body() dto: PageReviewDto, @AuthUser() user: User) {
+ async review(@Body() dto: PageReviewDto) {
const page = await this.pageRepo.findById(dto.pageId);
if (!page) {
throw new NotFoundException('Page not found');
}
-
- await this.pageAccessService.validateCanView(page, user);
return this.pageService.review(dto.pageId, dto.quality);
}