We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728e704 commit 6c298b1Copy full SHA for 6c298b1
1 file changed
app/api/cms/schema/user.py
@@ -33,7 +33,7 @@ class PermissionModuleSchema(BaseModel):
33
34
class UserBaseInfoSchema(EmailSchema):
35
nickname: Optional[str] = Field(description="用户昵称", min_length=2, max_length=10)
36
- avatar: Optional[AnyHttpUrl] = Field(description="头像url")
+ avatar: Optional[str] = Field(description="头像url")
37
38
39
class UserSchema(UserBaseInfoSchema):
0 commit comments