Skip to content

Commit 668ca26

Browse files
authored
Merge pull request #103 from sanzc/fix-model-detail-minage
Fix: Define Detail.min_age as Optional[int]
2 parents 0e108b9 + e0ad261 commit 668ca26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbox/webapi/api/provider/titlehub/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Detail(CamelCaseModel):
6868
developer_name: str
6969
genres: Optional[List[str]] = None
7070
publisher_name: str
71-
min_age: int
71+
min_age: Optional[int] = None
7272
release_date: Optional[datetime] = None
7373
short_description: Optional[str] = None
7474
vui_display_name: Optional[str] = None

0 commit comments

Comments
 (0)