zamis %!s(int64=5) %!d(string=hai) anos
pai
achega
cea9127aae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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),