Skip to content

Commit

Permalink
fix query to state in Task Mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Dec 6, 2023
1 parent 4e96838 commit 21697b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/src/core/mappers/TaskMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def get_by_id(self, _id):
task = next(
filter(
lambda task: task.id == _id,
self._dao.get_state().ctx.tasks
self._dao.get_state().tasks
),
None
)
Expand Down

0 comments on commit 21697b4

Please sign in to comment.