zoho: add forgotten setupRegion() to NewFs

- this finally fixes regions other than eu
This commit is contained in:
buengese 2021-03-21 01:26:15 +01:00
parent 0187bc494a
commit da5b0cb611
1 changed files with 1 additions and 0 deletions

View File

@ -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 {
return nil, err
}
setupRegion(m)
root = parsePath(root)
oAuthClient, _, err := oauthutil.NewClient(ctx, name, m, oauthConfig)