Skip to content

Commit

Permalink
fix(backend): returns values from calculations function
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Oct 14, 2024
1 parent cfc9ae6 commit def840d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/app/projects/project_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ def calculate_status(cls, values):
else:
values.status = "ongoing"

return values


class ProjectOut(BaseModel):
"""Base project model."""
Expand Down

0 comments on commit def840d

Please sign in to comment.