Taichi Masuyama před 4 roky
rodič
revize
60b3105602
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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) {
     this.user = user;
     this.rootPage = rootPage;
-    this.isReady = false;
     this.shouldIncludeEmpty = shouldIncludeEmpty;
 
+    this.isReady = false;
+
     this.Page = mongoose.model('Page') as unknown as PageModel;
   }