Merge pull request #29 from LazyBachelor/LPM-77

LPM-77 Task Drafts
This commit is contained in:
Robin Olsen
2026-02-25 06:45:59 -08:00
committed by GitHub
22 changed files with 1401 additions and 45 deletions

View File

@@ -40,7 +40,7 @@ func RegisterTask(name string, constructor func(*service.App) Tasker) {
taskRegistry[name] = constructor
}
func GetTasks(name string, app *service.App) (Tasker, error) {
func GetTask(name string, app *service.App) (Tasker, error) {
constructor, ok := taskRegistry[name]
if !ok {
return nil, fmt.Errorf("task %q not found", name)