style: use utils.SliceConvert uniformly

This commit is contained in:
Noah Hsu
2022-09-05 00:26:04 +08:00
parent 25ae1b8397
commit 3416861cab
8 changed files with 21 additions and 33 deletions

View File

@ -124,7 +124,7 @@ func (d *Onedrive) Request(url string, method string, callback base.ReqCallback,
return res.Body(), nil
}
func (d *Onedrive) GetFiles(path string) ([]File, error) {
func (d *Onedrive) getFiles(path string) ([]File, error) {
var res []File
nextLink := d.GetMetaUrl(false, path) + "/children?$expand=thumbnails"
for nextLink != "" {