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

Add ability to remove a video from a plugin

This commit is contained in:
Chocobozzz 2020-04-09 11:35:29 +02:00
parent 1b05d82d86
commit ab3ead3a6f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 68 additions and 9 deletions

View file

@ -25,7 +25,7 @@ const Hooks = {
},
runAction: <T, U extends ServerActionHookName>(hookName: U, params?: T) => {
PluginManager.Instance.runHook(hookName, params)
PluginManager.Instance.runHook(hookName, undefined, params)
.catch(err => logger.error('Fatal hook error.', { err }))
}
}