diff --git a/yandex/yandex.go b/yandex/yandex.go index 4b279ee29..7f3a0ea93 100644 --- a/yandex/yandex.go +++ b/yandex/yandex.go @@ -118,7 +118,7 @@ func NewFs(name, root string) (fs.Fs, error) { } //create new client - yandexDisk := yandex.NewClient(token.AccessToken) + yandexDisk := yandex.NewClient(token.AccessToken, fs.Config.Client()) f := &Fs{ yd: yandexDisk,