mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🐛 修复 TETR.IO 默认头像传参错误
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user