arvid-e 2 месяцев назад
Родитель
Сommit
ec37787ad6
1 измененных файлов с 9 добавлено и 13 удалено
  1. 9 13
      apps/app/src/server/service/page/index.ts

+ 9 - 13
apps/app/src/server/service/page/index.ts

@@ -796,17 +796,6 @@ class PageService implements IPageService {
     return renamedPage;
   }
 
-<<<<<<< HEAD
-  async renameSubOperation(
-    page,
-    newPagePathSanitized: string,
-    user,
-    options,
-    renamedPage,
-    pageOpId: ObjectIdLike,
-    activity?,
-  ): Promise<void> {
-=======
   getExcludedPathsBySystem(): string[] {
     const excludedPaths: string[] = [];
 
@@ -817,8 +806,15 @@ class PageService implements IPageService {
     return excludedPaths;
   }
 
-  async renameSubOperation(page, newPagePath: string, user, options, renamedPage, pageOpId: ObjectIdLike, activity?): Promise<void> {
->>>>>>> 01481adae4 (Use list of excluded paths to not be usable using lsx)
+  async renameSubOperation(
+    page,
+    newPagePathSanitized: string,
+    user,
+    options,
+    renamedPage,
+    pageOpId: ObjectIdLike,
+    activity?,
+  ): Promise<void> {
     const Page = mongoose.model('Page') as unknown as PageModel;
 
     const exParentId = page.parent;