mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 03:21:08 +10:00
fix: exclude deleted pages (#1494)
This commit is contained in:
@ -46,7 +46,7 @@ export class ExportController {
|
||||
includeContent: true,
|
||||
});
|
||||
|
||||
if (!page) {
|
||||
if (!page || page.deletedAt) {
|
||||
throw new NotFoundException('Page not found');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user