yohei0125 před 3 roky
rodič
revize
2924f82a55
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/app/src/pages/[[...path]].page.tsx

+ 1 - 1
packages/app/src/pages/[[...path]].page.tsx

@@ -252,7 +252,7 @@ async function injectPageInformation(context: GetServerSidePropsContext, props:
     logger.warn(`Page is ${props.isForbidden ? 'forbidden' : 'not found'}`, currentPathname);
     logger.warn(`Page is ${props.isForbidden ? 'forbidden' : 'not found'}`, currentPathname);
   }
   }
 
 
-  // Todo: should check if the specified revisionId actually exist in DB.
+  // Todo: should check if revision document with the specified revisionId actually exist in DB.
   // if true, replacing page.revision with old revision should be done when populating Revision
   // if true, replacing page.revision with old revision should be done when populating Revision
   const revisionId = searchParams.get('revision');
   const revisionId = searchParams.get('revision');
   const isSpecifiedRevisionExist = true; // dummy
   const isSpecifiedRevisionExist = true; // dummy