fix: exclude deleted pages (#1494)

This commit is contained in:
Philip Okugbe
2025-08-31 09:11:33 +01:00
committed by GitHub
parent 08135a2fba
commit aa58e272d6
2 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export class ExportController {
includeContent: true,
});
if (!page) {
if (!page || page.deletedAt) {
throw new NotFoundException('Page not found');
}