Merge pull request #147 from serfend/default-config

fix[config]support overwrite by user #145
This commit is contained in:
手瓜一十雪
2024-07-24 14:28:42 +08:00
committed by GitHub
3 changed files with 8 additions and 4 deletions

View File

@@ -15,6 +15,6 @@ export class SetConfigAction extends BaseAction<OB11Config, void> {
actionName = ActionName.SetConfig;
protected async _handle(payload: OB11Config): Promise<void> {
ob11Config.save(payload);
ob11Config.save(payload, true);
}
}