mirror of https://github.com/rclone/rclone.git
onedrive: fix new fields not saved when editing old config - fixes #2527
This commit is contained in:
parent
c6f1c3c7f6
commit
692ad482dc
|
@ -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…
Reference in New Issue