Skip to content

Commit

Permalink
update movie response schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmoh committed Dec 2, 2023
1 parent 277afc0 commit 294f747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/schema/movie_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MovieCreateSchema(BaseModel):
class MovieResponseSchema(MovieCreateSchema):
id: int
cover_image_url: str
average_rating: float
average_rating: float | None
reviews: list[ReviewResponseSchema]


Expand Down

0 comments on commit 294f747

Please sign in to comment.