1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Refactor video links builders

This commit is contained in:
Chocobozzz 2021-07-26 15:04:37 +02:00
parent 9162fdd363
commit 15a7eafb89
No known key found for this signature in database
GPG key ID: 583A612D890159BE
41 changed files with 281 additions and 254 deletions

View file

@ -1,5 +1,5 @@
import { HookType } from '../../models/plugins/hook-type.enum'
import { isCatchable, isPromise } from '../miscs/miscs'
import { isCatchable, isPromise } from '../common/promises'
function getHookType (hookName: string) {
if (hookName.startsWith('filter:')) return HookType.FILTER