Retrieve task from memory to be able to check task results. Temp fix until we start updating tasks in DB

This commit is contained in:
reynisson 2021-11-28 17:13:14 +01:00
parent 8bfc231a7e
commit d1fe47db6f

View File

@ -28,6 +28,6 @@ public class RetrieveTaskFromTaskListService implements RetrieveTaskFromTaskList
Optional<Task> taskFromRepo = Optional.ofNullable(loadTaskFromRepositoryPort.loadTask(query.getTaskId(), taskList.getTaskListName())); Optional<Task> taskFromRepo = Optional.ofNullable(loadTaskFromRepositoryPort.loadTask(query.getTaskId(), taskList.getTaskListName()));
return taskFromRepo; return task;
} }
} }