1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Add plugin auth migrations

This commit is contained in:
Chocobozzz 2020-04-27 10:19:14 +02:00 committed by Chocobozzz
parent e307e4fce3
commit 055cfb11a9
7 changed files with 94 additions and 49 deletions

View file

@ -198,6 +198,8 @@ export class RegisterHelpersStore {
return {
getSetting: (name: string) => PluginModel.getSetting(this.plugin.name, this.plugin.type, name),
getSettings: (names: string[]) => PluginModel.getSettings(this.plugin.name, this.plugin.type, names),
setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value)
}
}