mirror of
https://github.com/rclone/rclone.git
synced 2025-01-10 00:08:44 +01:00
zoho: add forgotten setupRegion() to NewFs
- this finally fixes regions other than eu
This commit is contained in:
parent
0187bc494a
commit
da5b0cb611
@ -372,6 +372,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
|
|||||||
if err := configstruct.Set(m, opt); err != nil {
|
if err := configstruct.Set(m, opt); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
setupRegion(m)
|
||||||
|
|
||||||
root = parsePath(root)
|
root = parsePath(root)
|
||||||
oAuthClient, _, err := oauthutil.NewClient(ctx, name, m, oauthConfig)
|
oAuthClient, _, err := oauthutil.NewClient(ctx, name, m, oauthConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user