Browse Source

Remove unnecessary code

Shun Miyazawa 2 năm trước cách đây
mục cha
commit
f9cf64ee65
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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 } },
     ]);
 
-    // const ancestorPageIds = ancestorPages.map(page => page._id);
     await Page.updateMany({ _id: { $in: ancestorPageIds } }, { $unset: { ttlTimestamp: true } });
   }