Explorar o código

fix: update import path for SCOPE from '../../interfaces/scope' to '@growi/core/dist/interfaces'

Shun Miyazawa hai 10 meses
pai
achega
5084e971ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/app/src/server/util/scope-utils.ts

+ 1 - 1
apps/app/src/server/util/scope-utils.ts

@@ -1,6 +1,6 @@
 import {
   ACTION, ALL_SIGN, SCOPE, type Scope,
-} from '../../interfaces/scope';
+} from '@growi/core/dist/interfaces';
 
 export const isValidScope = (scope: Scope): boolean => {
   const scopeParts = scope.split(':').map(x => (x === ALL_SIGN ? 'ALL' : x.toUpperCase()));