yandex: Make it use our http client so logging, bwlimit etc works properly
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ func NewFs(name, root string) (fs.Fs, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//create new client
|
//create new client
|
||||||
yandexDisk := yandex.NewClient(token.AccessToken)
|
yandexDisk := yandex.NewClient(token.AccessToken, fs.Config.Client())
|
||||||
|
|
||||||
f := &Fs{
|
f := &Fs{
|
||||||
yd: yandexDisk,
|
yd: yandexDisk,
|
||||||
|
|||||||
Reference in New Issue
Block a user