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")
|
log.Fatalf("Cancelled by user")
|
||||||
}
|
}
|
||||||
|
|
||||||
config.FileSet(name, configDriveID, finalDriveID)
|
m.Set(configDriveID, finalDriveID)
|
||||||
config.FileSet(name, configDriveType, rootItem.ParentReference.DriveType)
|
m.Set(configDriveType, rootItem.ParentReference.DriveType)
|
||||||
|
config.SaveConfig()
|
||||||
},
|
},
|
||||||
Options: []fs.Option{{
|
Options: []fs.Option{{
|
||||||
Name: config.ConfigClientID,
|
Name: config.ConfigClientID,
|
||||||
|
|
Loading…
Add table
Reference in a new issue