Skip to content

Commit

Permalink
fix refactor error
Browse files Browse the repository at this point in the history
  • Loading branch information
majsan committed Feb 5, 2024
1 parent 709de15 commit cfc797c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_by_id( # noqa: D102
with self.resource_uow as uw:
entry_uow = uw.entry_uow_by_resource_id(resource_id)
with entry_uow as uw:
return self._entry_to_entry_dto(uw.repo.by_id(UniqueId.validate(id)), resource_id)
return _entry_to_entry_dto(uw.repo.by_id(UniqueId.validate(id)), resource_id)

def get_by_id_optional( # noqa: D102
self,
Expand Down

0 comments on commit cfc797c

Please sign in to comment.