yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
976b6149d0
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      packages/app/src/server/service/page.ts

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

@@ -554,7 +554,6 @@ class PageService {
 
 
     // update descendants first
     // update descendants first
     await this.renameDescendantsWithStream(page, newPagePath, user, options, false);
     await this.renameDescendantsWithStream(page, newPagePath, user, options, false);
-    await PageOperation.findByIdAndUpdate(pageOpId, { isFailure: true });
 
 
     // reduce ancestore's descendantCount
     // reduce ancestore's descendantCount
     const nToReduce = -1 * ((page.isEmpty ? 0 : 1) + page.descendantCount);
     const nToReduce = -1 * ((page.isEmpty ? 0 : 1) + page.descendantCount);