mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 17:39:55 +08:00
fix(server): auto import config.json (#11255)
This commit is contained in:
@@ -90,9 +90,9 @@ export class ServerService implements OnApplicationBootstrap {
|
||||
}
|
||||
|
||||
@OnEvent('config.changed.broadcast')
|
||||
onConfigChangedBroadcast(updates: DeepPartial<AppConfig>) {
|
||||
this.configFactory.override(updates);
|
||||
this.event.emit('config.changed', { updates });
|
||||
onConfigChangedBroadcast(event: Events['config.changed.broadcast']) {
|
||||
this.configFactory.override(event.updates);
|
||||
this.event.emit('config.changed', event);
|
||||
}
|
||||
|
||||
async revalidateConfig() {
|
||||
|
||||
Reference in New Issue
Block a user