chore: fix

This commit is contained in:
Simon Ding
2025-04-23 10:32:21 +08:00
parent aecbc5f657
commit 9b7527defe

View File

@@ -223,6 +223,6 @@ func (c *Engine) RemoveTaskAndTorrent(id int) error {
return nil return nil
} }
func (c *Engine) GetTasks() utils.Map[int, *Task] { func (c *Engine) GetTasks() *utils.Map[int, *Task] {
return c.tasks return &c.tasks
} }