fix: migrateOneBotConfigsV1

This commit is contained in:
pk5ls20 committed 2024-11-16 07:22:29 +08:00
1 parent 282c7418e9
commit cbc79fd51e
2 files changed
+40 -36

No files matched your search

+2 -1
View File
@@ -64,7 +64,8 @@ export class NapCatOneBot11Adapter {
this.core = core;
this.context = context;
this.configLoader = new OB11ConfigLoader(core, pathWrapper.configPath);
this.configLoader.save(mergeOneBotConfigs(migrateOneBotConfigsV1(this.configLoader.configData)));
this.configLoader.save(migrateOneBotConfigsV1(this.configLoader.configData));
this.configLoader.save(mergeOneBotConfigs(this.configLoader.configData));
this.apis = {
GroupApi: new OneBotGroupApi(this, core),
UserApi: new OneBotUserApi(this, core),