|
|
@@ -27,6 +27,7 @@ class PageService {
|
|
|
|
|
|
const { attachmentService } = this.crowi;
|
|
|
const attachments = await Attachment.find({ page: { $in: pageIds } });
|
|
|
+
|
|
|
return Promise.all([
|
|
|
Bookmark.find({ page: { $in: pageIds } }).remove({}),
|
|
|
Comment.find({ page: { $in: pageIds } }).remove({}),
|