Przeglądaj źródła

Remove unnecessary code

Shun Miyazawa 2 lat temu
rodzic
commit
f9cf64ee65
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      apps/app/src/server/service/page/index.ts

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

@@ -3954,7 +3954,6 @@ class PageService implements IPageService {
       { $project: { _id: 1 } },
       { $project: { _id: 1 } },
     ]);
     ]);
 
 
-    // const ancestorPageIds = ancestorPages.map(page => page._id);
     await Page.updateMany({ _id: { $in: ancestorPageIds } }, { $unset: { ttlTimestamp: true } });
     await Page.updateMany({ _id: { $in: ancestorPageIds } }, { $unset: { ttlTimestamp: true } });
   }
   }