From b62a716267bfd95b2456c96f45a2198971d75fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Wed, 1 Dec 2021 11:25:04 +0800 Subject: [PATCH] :sparkles: remove onedrive empty cache --- drivers/onedrive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/onedrive.go b/drivers/onedrive.go index f4703ff2..a82d379a 100644 --- a/drivers/onedrive.go +++ b/drivers/onedrive.go @@ -148,7 +148,7 @@ func (driver Onedrive) GetFiles(account *model.Account, path string) ([]OneFile, if account.OrderBy != "" { nextLink += fmt.Sprintf("&orderby=%s", account.OrderBy) if account.OrderDirection != "" { - nextLink += fmt.Sprintf(" %s", account.OrderDirection) + nextLink += fmt.Sprintf("%%20%s", account.OrderDirection) } } for nextLink != "" {