aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins/register-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/plugins/register-helpers.ts')
-rw-r--r--server/lib/plugins/register-helpers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/plugins/register-helpers.ts b/server/lib/plugins/register-helpers.ts
index c018e54a8..aa69ca2a2 100644
--- a/server/lib/plugins/register-helpers.ts
+++ b/server/lib/plugins/register-helpers.ts
@@ -73,7 +73,7 @@ export class RegisterHelpers {
73 private idAndPassAuths: RegisterServerAuthPassOptions[] = [] 73 private idAndPassAuths: RegisterServerAuthPassOptions[] = []
74 private externalAuths: RegisterServerAuthExternalOptions[] = [] 74 private externalAuths: RegisterServerAuthExternalOptions[] = []
75 75
76 private readonly onSettingsChangeCallbacks: ((settings: any) => void)[] = [] 76 private readonly onSettingsChangeCallbacks: ((settings: any) => Promise<any>)[] = []
77 77
78 private readonly router: express.Router 78 private readonly router: express.Router
79 79
@@ -277,7 +277,7 @@ export class RegisterHelpers {
277 277
278 setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value), 278 setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value),
279 279
280 onSettingsChange: (cb: (settings: any) => void) => this.onSettingsChangeCallbacks.push(cb) 280 onSettingsChange: (cb: (settings: any) => Promise<any>) => this.onSettingsChangeCallbacks.push(cb)
281 } 281 }
282 } 282 }
283 283