Przeglądaj źródła

add await in normalizeParentByPageIdsRecursively

Yuken Tezuka 3 lat temu
rodzic
commit
28def0b361
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/app/src/server/service/page.ts

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

@@ -2484,7 +2484,7 @@ class PageService {
       throw Error(`The maximum number of pageIds allowed is ${LIMIT_FOR_MULTIPLE_PAGE_OP}.`);
     }
 
-    this.normalizeParentRecursivelyByPages(pages, user);
+    await this.normalizeParentRecursivelyByPages(pages, user);
 
     return;
   }