Update main users routs

This commit is contained in:
IgorVolochay
2025-02-19 16:21:06 +03:00
parent 014a523967
commit 834df9a283
2 changed files with 26 additions and 18 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import typing
from pydantic import BaseModel
from pydantic import BaseModel, NonNegativeInt
class BaseResponse(BaseModel):
@@ -8,7 +8,7 @@ class BaseResponse(BaseModel):
error: bool = False
class AddUserBody(BaseModel):
user_id: int
user_id: NonNegativeInt
username: str
first_name: str