Browse Source

Cleaned code

Taichi Masuyama 4 years ago
parent
commit
60b3105602
1 changed files with 2 additions and 1 deletions
  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;
   }