Jelajahi Sumber

Cleaned code

Taichi Masuyama 4 tahun lalu
induk
melakukan
60b3105602
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      packages/app/src/server/service/page.ts

+ 2 - 1
packages/app/src/server/service/page.ts

@@ -42,9 +42,10 @@ class PageOnlyDescendantsIterableFactory {
   constructor(user: any, rootPage: any, shouldIncludeEmpty: boolean) {
   constructor(user: any, rootPage: any, shouldIncludeEmpty: boolean) {
     this.user = user;
     this.user = user;
     this.rootPage = rootPage;
     this.rootPage = rootPage;
-    this.isReady = false;
     this.shouldIncludeEmpty = shouldIncludeEmpty;
     this.shouldIncludeEmpty = shouldIncludeEmpty;
 
 
+    this.isReady = false;
+
     this.Page = mongoose.model('Page') as unknown as PageModel;
     this.Page = mongoose.model('Page') as unknown as PageModel;
   }
   }