refactor for better maintainability and readabilty

This commit is contained in:
Robin Olsen
2026-02-17 11:11:54 +01:00
parent a38e32aa78
commit 279adb157e
7 changed files with 68 additions and 73 deletions

View File

@@ -21,9 +21,9 @@ func initializeServices(ctx context.Context) (*service.Services, func(), error)
return service.NewServices(ctx, config)
}
func initTasks() []*task.Task {
func initTasks(svc *service.Services) []*task.Task {
return []*task.Task{
tasks.NewCreateIssueTask(),
tasks.NewCreateIssueTask(svc),
}
}