Explorar o código

fix: update comment for clarity on share link endpoint usage

Shun Miyazawa hai 4 días
pai
achega
67e2e01620
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/app/src/states/page/use-fetch-current-page.ts

+ 1 - 1
apps/app/src/states/page/use-fetch-current-page.ts

@@ -147,7 +147,7 @@ const buildApiParams = ({
   if (fetchPageArgs?.pageId != null) {
     params.pageId = fetchPageArgs.pageId;
   }
-  // priority B: currentPageId for share link (required by certifySharedPage middleware)
+  // priority B: currentPageId for share link (required by /page/shared endpoint)
   else if (shareLinkId != null && currentPageId != null) {
     params.pageId = currentPageId;
   } else if (decodedPathname != null) {