Yuki Takei 1 год назад
Родитель
Сommit
6e516c6480

+ 1 - 1
apps/app/src/server/routes/apiv3/page/index.ts

@@ -768,8 +768,8 @@ module.exports = (crowi) => {
       return res.apiv3Err(err, 500);
     }
 
+    // Normalize the latest revision which was borken by the migration script '20211227060705-revision-path-to-page-id-schema-migration--fixed-7549.js'
     try {
-      // Normalize the latest revision which was borken by the migration script '20211227060705-revision-path-to-page-id-schema-migration--fixed-7549.js'
       await normalizeLatestRevisionIfBroken(pageId);
     }
     catch (err) {

+ 1 - 1
apps/app/src/server/routes/apiv3/revisions.js

@@ -122,8 +122,8 @@ module.exports = (crowi) => {
       return res.apiv3Err(new ErrorV3('Current user is not accessible to this page.', 'forbidden-page'), 403);
     }
 
+    // Normalize the latest revision which was borken by the migration script '20211227060705-revision-path-to-page-id-schema-migration--fixed-7549.js'
     try {
-      // Normalize the latest revision which was borken by the migration script '20211227060705-revision-path-to-page-id-schema-migration--fixed-7549.js'
       await normalizeLatestRevisionIfBroken(pageId);
     }
     catch (err) {