Skip to content

Commit

Permalink
replaced deprecated methods in crud
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienmaster committed Nov 20, 2023
1 parent 6c480c8 commit 77f003d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/app/core/data/crud/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _get_action_state_from_orm(self, db_obj: ProjectORM) -> Optional[str]:
ProjectReadAction(
**ProjectRead.model_validate(db_obj, from_attributes=True).model_dump(),
users=[UserRead.model_validate(user) for user in db_obj.users],
num_sdocs=num_sdocs
num_sdocs=num_sdocs,
).model_dump()
)

Expand Down

0 comments on commit 77f003d

Please sign in to comment.