From 36b533cb164a7acf6ebee5e87e7216c9eec0abf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Wed, 5 Jan 2022 23:25:21 +0800 Subject: [PATCH] :bug: remove empty title folder --- drivers/teambition/teambition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/teambition/teambition.go b/drivers/teambition/teambition.go index a66fb597..e91639c4 100644 --- a/drivers/teambition/teambition.go +++ b/drivers/teambition/teambition.go @@ -105,6 +105,9 @@ func (driver Teambition) GetFiles(parentId string, account *model.Account) ([]mo } page++ for _, collection := range collections { + if collection.Title == "" { + continue + } files = append(files, model.File{ Id: collection.ID, Name: collection.Title,