Преглед изворни кода

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

Shun Miyazawa пре 10 месеци
родитељ
комит
5084e971ee
1 измењених фајлова са 1 додато и 1 уклоњено
  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()));