Browse Source

fix: optimize code format

Pchen. 1 year ago
parent
commit
b1e89687a8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      wechat/ChatGPT.js

+ 2 - 1
wechat/ChatGPT.js

@@ -70,7 +70,8 @@ function updateGPTConfig(configName, configValue) {
         if (err) {
             console.error('更新数据失败:', err);
         }
-    });
+        loadConfigValues()
+    })
 }
 
 module.exports = { updateGPTConfig, sendMessageToAPI }