Browse Source

fix error msg

yohei0125 4 năm trước cách đây
mục cha
commit
7d7928df76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/app/src/server/service/page.ts

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

@@ -605,7 +605,7 @@ class PageService {
       } = pageOp;
 
       if (toPath == null) {
-        throw Error(`Property toPath is missing which is needed to resume renaming this page operation(${pageOp._id})`);
+        throw Error(`Property toPath is missing which is needed to resume page operation(${pageOp._id})`);
       }
 
       const renamedPage = await Page.findOne({ _id: page._id }); // sub operation needs updated page