diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-27 10:19:14 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-04 16:21:39 +0200 |
commit | 055cfb11a9d688dbc2dce5c164d1f0b311918378 (patch) | |
tree | c93f008b3e5463a9b8d024b45e5ba4b9f549a76b /server/lib/plugins/register-helpers-store.ts | |
parent | e307e4fce39853d445d086f92b8c556c363ee15d (diff) | |
download | PeerTube-055cfb11a9d688dbc2dce5c164d1f0b311918378.tar.gz PeerTube-055cfb11a9d688dbc2dce5c164d1f0b311918378.tar.zst PeerTube-055cfb11a9d688dbc2dce5c164d1f0b311918378.zip |
Add plugin auth migrations
Diffstat (limited to 'server/lib/plugins/register-helpers-store.ts')
-rw-r--r-- | server/lib/plugins/register-helpers-store.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/plugins/register-helpers-store.ts b/server/lib/plugins/register-helpers-store.ts index 679ed3650..687974ccf 100644 --- a/server/lib/plugins/register-helpers-store.ts +++ b/server/lib/plugins/register-helpers-store.ts | |||
@@ -198,6 +198,8 @@ export class RegisterHelpersStore { | |||
198 | return { | 198 | return { |
199 | getSetting: (name: string) => PluginModel.getSetting(this.plugin.name, this.plugin.type, name), | 199 | getSetting: (name: string) => PluginModel.getSetting(this.plugin.name, this.plugin.type, name), |
200 | 200 | ||
201 | getSettings: (names: string[]) => PluginModel.getSettings(this.plugin.name, this.plugin.type, names), | ||
202 | |||
201 | setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value) | 203 | setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value) |
202 | } | 204 | } |
203 | } | 205 | } |