fix: revert rename

This commit is contained in:
yusing
2025-04-13 12:28:13 +08:00
parent ffea5fb3da
commit 5cdbe81beb
5 changed files with 14 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ func toBool(v uint32) bool {
func (t *Task) callbackList() []map[string]any {
list := make([]map[string]any, 0, len(t.callbacks))
for cb, _ := range t.callbacks {
for cb := range t.callbacks {
list = append(list, map[string]any{
"about": cb.about,
"wait_children": cb.waitChildren,