Browse Source

fix error msg

yohei0125 4 years ago
parent
commit
7d7928df76
1 changed files with 1 additions and 1 deletions
  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