diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-26 15:04:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-26 15:04:37 +0200 |
commit | 15a7eafb892441957ba7dd6fcbf556086fe5b2b3 (patch) | |
tree | 0786bd1a96c7d168a097ffcf5893737db2ab578e /shared/core-utils/plugins | |
parent | 9162fdd36300d2478f13d6ad346ec2c323f40faa (diff) | |
download | PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.tar.gz PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.tar.zst PeerTube-15a7eafb892441957ba7dd6fcbf556086fe5b2b3.zip |
Refactor video links builders
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 |