🐛 修复 TETR.IO 默认头像传参错误

This commit is contained in:
2024-05-10 12:20:25 +08:00
parent 5bcecc0623
commit b0ee7fe6c7
2 changed files with 9 additions and 2 deletions

View File

@@ -35,7 +35,11 @@ class Bind(BaseModel):
class TETRIOInfo(BaseModel):
class User(BaseModel):
avatar: str
class Avatar(BaseModel):
type: Literal['identicon']
hash: str
avatar: str | Avatar
name: str
bio: str | None