zamis há 5 anos atrás
pai
commit
cea9127aae
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/server/service/page.js

+ 1 - 1
src/server/service/page.js

@@ -16,10 +16,10 @@ class PageService {
     // Delete Bookmarks, Attachments, Revisions, Pages and emit delete
     // Delete Bookmarks, Attachments, Revisions, Pages and emit delete
     const Bookmark = this.crowi.model('Bookmark');
     const Bookmark = this.crowi.model('Bookmark');
     const Comment = this.crowi.model('Comment');
     const Comment = this.crowi.model('Comment');
+    const Page = this.crowi.model('Page');
     const PageTagRelation = this.crowi.model('PageTagRelation');
     const PageTagRelation = this.crowi.model('PageTagRelation');
     const ShareLink = this.crowi.model('ShareLink');
     const ShareLink = this.crowi.model('ShareLink');
     const Revision = this.crowi.model('Revision');
     const Revision = this.crowi.model('Revision');
-    const Page = this.crowi.model('Page');
 
 
     return Promise.all([
     return Promise.all([
       Bookmark.removeBookmarksByPageId(pageId),
       Bookmark.removeBookmarksByPageId(pageId),