zamis преди 5 години
родител
ревизия
cea9127aae
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
     const Bookmark = this.crowi.model('Bookmark');
     const Comment = this.crowi.model('Comment');
+    const Page = this.crowi.model('Page');
     const PageTagRelation = this.crowi.model('PageTagRelation');
     const ShareLink = this.crowi.model('ShareLink');
     const Revision = this.crowi.model('Revision');
-    const Page = this.crowi.model('Page');
 
     return Promise.all([
       Bookmark.removeBookmarksByPageId(pageId),