fix: change vote to float

This commit is contained in:
Edward 2024-03-07 09:45:14 +00:00 committed by GitHub
parent 0de952f090
commit 0be49953b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ class MediaInfo:
# LOGO
logo_path: str = None
# 评分
vote_average: int = 0
vote_average: float = 0
# 描述
overview: str = None
# 风格ID

View File

@ -94,7 +94,7 @@ class MediaInfo(BaseModel):
# 海报图片
poster_path: Optional[str] = None
# 评分
vote_average: Optional[int] = 0
vote_average: Optional[float] = 0
# 描述
overview: Optional[str] = None
# 二级分类