yohei0125 4 vuotta sitten
vanhempi
sitoutus
634970eb78
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/app/src/server/service/page.ts

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

@@ -316,7 +316,7 @@ class PageService {
 
 
     const isExist = await Page.count({ path: newPagePath }) > 0;
     const isExist = await Page.count({ path: newPagePath }) > 0;
     if (isExist) {
     if (isExist) {
-      // if page found, cannot cannot rename to that path
+      // if page found, cannot rename to that path
       throw new Error('the path already exists');
       throw new Error('the path already exists');
     }
     }