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:
parent
8bfc231a7e
commit
d1fe47db6f
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user