From ba2684ceddf9b76312635b9cddc6bf6975ce436a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Jul 2022 11:58:01 +0200 Subject: Fix lint --- server/lib/plugins/plugin-manager.ts | 2 +- server/lib/plugins/video-constant-manager-factory.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/plugins') 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 { if (!this.hooks[options.target]) this.hooks[options.target] = [] this.hooks[options.target].push({ - npmName: npmName, + npmName, pluginName: plugin.name, handler: options.handler, 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 { } } - this.updatedVideoConstants[type][npmName].added.push({ key: key, label } as VideoConstant) + this.updatedVideoConstants[type][npmName].added.push({ key, label } as VideoConstant) obj[key] = label return true -- cgit v1.2.3