aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-20 16:02:15 +0200
committerChocobozzz <me@florianbigard.com>2021-04-20 16:02:15 +0200
commit24a792404cac0dffff91853af33310fbb7a30297 (patch)
tree997f771146fe57527ca50a2d6e18febbc9baf124 /shared
parent51b66ea7cb39f075f4deb8ea92ba70f3be289769 (diff)
downloadPeerTube-24a792404cac0dffff91853af33310fbb7a30297.tar.gz
PeerTube-24a792404cac0dffff91853af33310fbb7a30297.tar.zst
PeerTube-24a792404cac0dffff91853af33310fbb7a30297.zip
Support async onSettingsChange
Diffstat (limited to 'shared')
-rw-r--r--shared/models/plugins/plugin-settings-manager.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/plugins/plugin-settings-manager.model.ts b/shared/models/plugins/plugin-settings-manager.model.ts
index 165f0dc5b..3c28c0565 100644
--- a/shared/models/plugins/plugin-settings-manager.model.ts
+++ b/shared/models/plugins/plugin-settings-manager.model.ts
@@ -5,5 +5,5 @@ export interface PluginSettingsManager {
5 5
6 setSetting: (name: string, value: string) => Promise<any> 6 setSetting: (name: string, value: string) => Promise<any>
7 7
8 onSettingsChange: (cb: (names: string[]) => void) => void 8 onSettingsChange: (cb: (names: string[]) => Promise<any>) => void
9} 9}