Skip to content

Commit

Permalink
Add filters to backend model
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoom-Developer committed Nov 19, 2024
1 parent 80beb85 commit 0f4f3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/domain/user/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ReportUser(BaseModel):
class GetUsers(BaseModel):
offset: int = 0
limit: int = Field(gt = 1, le=50)
filter: Literal["all", "banned", "verify"] = "all"
filter: Literal["all", "banned", "verify", "male", "female", "inactive"] = "all"

class UserRequest(BaseModel):
user_id: int
Expand Down

0 comments on commit 0f4f3ed

Please sign in to comment.