Taichi Masuyama 4 lat temu
rodzic
commit
fd23c9e34f

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

@@ -370,7 +370,7 @@ class PageGrantService {
         path, grant, grantedUsers: grantedUserIds, grantedGroup: grantedGroupId,
       } = page;
 
-      if (pageUtils.isNormalized(page)) {
+      if (pageUtils.isPageNormalized(page)) {
         nonNormalizable.push(page);
         continue;
       }

+ 1 - 1
packages/core/src/utils/page-utils.ts

@@ -39,7 +39,7 @@ export const isOnTree = (page): boolean => {
  * @returns boolean
  */
 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
-export const isNormalized = (page): boolean => {
+export const isPageNormalized = (page): boolean => {
   const { grant, status } = page;
 
   if (grant === GRANT_RESTRICTED || grant === GRANT_SPECIFIED) {