forked from TrueCloudLab/rclone
onedrive: fix new fields not saved when editing old config - fixes #2527
This commit is contained in:
parent
c6f1c3c7f6
commit
692ad482dc
1 changed files with 3 additions and 2 deletions
|
@ -201,8 +201,9 @@ func init() {
|
|||
log.Fatalf("Cancelled by user")
|
||||
}
|
||||
|
||||
config.FileSet(name, configDriveID, finalDriveID)
|
||||
config.FileSet(name, configDriveType, rootItem.ParentReference.DriveType)
|
||||
m.Set(configDriveID, finalDriveID)
|
||||
m.Set(configDriveType, rootItem.ParentReference.DriveType)
|
||||
config.SaveConfig()
|
||||
},
|
||||
Options: []fs.Option{{
|
||||
Name: config.ConfigClientID,
|
||||
|
|
Loading…
Add table
Reference in a new issue