mirror of https://github.com/Xhofe/alist
🐛 fix show balance account
parent
b3a8201768
commit
eb61f70164
|
@ -163,7 +163,7 @@ func GetAccountFiles() ([]File, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, v := range accounts {
|
for _, v := range accounts {
|
||||||
if strings.HasSuffix(v.Name, balance) {
|
if strings.Contains(v.Name, balance) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
files = append(files, File{
|
files = append(files, File{
|
||||||
|
|
Loading…
Reference in New Issue