From ee55b8594599d3a64b87af3213a9137a52fde711 Mon Sep 17 00:00:00 2001 From: hunteraraujo Date: Wed, 27 Sep 2023 23:43:44 -0700 Subject: [PATCH] Fix bug where we are not passing benchmark input --- frontend/lib/viewmodels/skill_tree_viewmodel.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/lib/viewmodels/skill_tree_viewmodel.dart b/frontend/lib/viewmodels/skill_tree_viewmodel.dart index 5fe07c35..aa2413fa 100644 --- a/frontend/lib/viewmodels/skill_tree_viewmodel.dart +++ b/frontend/lib/viewmodels/skill_tree_viewmodel.dart @@ -201,7 +201,7 @@ class SkillTreeViewModel extends ChangeNotifier { // Execute the first step and initialize the Step object Map stepResponse = await benchmarkService.executeBenchmarkStep( - task.id, BenchmarkStepRequestBody(input: null)); + task.id, BenchmarkStepRequestBody(input: node.data.task)); Step step = Step.fromMap(stepResponse); // Check if it's the last step