aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/plugins')
-rw-r--r--server/lib/plugins/plugin-manager.ts2
-rw-r--r--server/lib/plugins/video-constant-manager-factory.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts
index 1305f660f..c21ebd0c5 100644
--- a/server/lib/plugins/plugin-manager.ts
+++ b/server/lib/plugins/plugin-manager.ts
@@ -563,7 +563,7 @@ export class PluginManager implements ServerHook {
563 if (!this.hooks[options.target]) this.hooks[options.target] = [] 563 if (!this.hooks[options.target]) this.hooks[options.target] = []
564 564
565 this.hooks[options.target].push({ 565 this.hooks[options.target].push({
566 npmName: npmName, 566 npmName,
567 pluginName: plugin.name, 567 pluginName: plugin.name,
568 handler: options.handler, 568 handler: options.handler,
569 priority: options.priority || 0 569 priority: options.priority || 0
diff --git a/server/lib/plugins/video-constant-manager-factory.ts b/server/lib/plugins/video-constant-manager-factory.ts
index f04dde29f..5f7edfbe2 100644
--- a/server/lib/plugins/video-constant-manager-factory.ts
+++ b/server/lib/plugins/video-constant-manager-factory.ts
@@ -97,7 +97,7 @@ export class VideoConstantManagerFactory {
97 } 97 }
98 } 98 }
99 99
100 this.updatedVideoConstants[type][npmName].added.push({ key: key, label } as VideoConstant) 100 this.updatedVideoConstants[type][npmName].added.push({ key, label } as VideoConstant)
101 obj[key] = label 101 obj[key] = label
102 102
103 return true 103 return true