Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Chore\!: Swap to List[str]
Browse files Browse the repository at this point in the history
  • Loading branch information
showierdata9978 committed Aug 13, 2024
1 parent 325351a commit ebf4036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_api/v0/me.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class UpdateConfigBody(BaseModel):
debug: Optional[bool] = Field(default=None)
hide_blocked_users: Optional[bool] = Field(default=None)
favorited_chats: Optional[List[str]] = Field(default=None)
pronouns: Optional[List[List[str]]] = Field(default=None)
pronouns: Optional[List[str]] = Field(default=None, max_length=10)

class Config:
validate_assignment = True
Expand Down

0 comments on commit ebf4036

Please sign in to comment.