diff options
Diffstat (limited to 'shared/core-utils/plugins')
-rw-r--r-- | shared/core-utils/plugins/hooks.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/core-utils/plugins/hooks.ts b/shared/core-utils/plugins/hooks.ts index 5405e0529..92cb5ad68 100644 --- a/shared/core-utils/plugins/hooks.ts +++ b/shared/core-utils/plugins/hooks.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { HookType } from '../../models/plugins/hook-type.enum' | 1 | import { HookType } from '../../models/plugins/hook-type.enum' |
2 | import { isCatchable, isPromise } from '../miscs/miscs' | 2 | import { isCatchable, isPromise } from '../common/promises' |
3 | 3 | ||
4 | function getHookType (hookName: string) { | 4 | function getHookType (hookName: string) { |
5 | if (hookName.startsWith('filter:')) return HookType.FILTER | 5 | if (hookName.startsWith('filter:')) return HookType.FILTER |