fix(config): [sync] missing base dir #778

This commit is contained in:
Jacky 2024-12-14 16:24:18 +08:00
parent c4f1e01e26
commit 564431cefe
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 15 additions and 41 deletions

View file

@ -77,7 +77,7 @@ func EditConfig(c *gin.Context) {
cfg.SyncOverwrite = json.SyncOverwrite
g := query.ChatGPTLog
err = config.SyncToRemoteServer(cfg, absPath)
err = config.SyncToRemoteServer(cfg)
if err != nil {
api.ErrHandler(c, err)
return