mirror of https://github.com/Xhofe/alist
🐛 fix alist driver files
parent
73d85d96f1
commit
a7e9bb9e9a
|
@ -91,7 +91,7 @@ func (driver Alist) File(path string, account *model.Account) (*model.File, erro
|
||||||
|
|
||||||
func (driver Alist) Files(path string, account *model.Account) ([]model.File, error) {
|
func (driver Alist) Files(path string, account *model.Account) ([]model.File, error) {
|
||||||
//return nil, base.ErrNotImplement
|
//return nil, base.ErrNotImplement
|
||||||
_, files, err := driver.Path(utils.Dir(path), account)
|
_, files, err := driver.Path(path, account)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue