mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-06-02 06:00:45 +08:00
feat: implement task cancellation feature and update task handling
This commit is contained in:
@@ -163,7 +163,7 @@ func AddToQueue(ctx *ext.Context, update *ext.Update) error {
|
||||
task.StoragePath = path.Join(dir.Path, file.FileName)
|
||||
}
|
||||
|
||||
queue.AddTask(task)
|
||||
queue.AddTask(&task)
|
||||
|
||||
entityBuilder := entity.Builder{}
|
||||
var entities []tg.MessageEntityClass
|
||||
|
||||
Reference in New Issue
Block a user