fix: use correct variable for tasks

This commit is contained in:
Jose Diaz-Gonzalez
2025-11-08 00:09:07 -05:00
parent 12dbbda68c
commit 593a4c8170

View File

@@ -80,7 +80,7 @@ func FetchCronTasks(input FetchCronTasksInput) ([]CronTask, error) {
isMaintenance := reportComputedMaintenance(appName) == "true"
if input.AppJSON == nil && input.AppName == "" {
return commands, fmt.Errorf("Missing app name or app.json")
return tasks, fmt.Errorf("Missing app name or app.json")
}
if input.AppJSON == nil {