fix: save history

This commit is contained in:
2026-02-05 01:14:44 +08:00
parent 3588c49d7d
commit 4b7a4eb36d
6 changed files with 51 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ func (s *Service) Start() {
}
func (s *Service) GetTransferList() []*Transfer {
var requests []*Transfer
var requests []*Transfer = make([]*Transfer, 0)
s.transferList.Range(func(key, value any) bool {
requests = append(requests, value.(*Transfer))
return true