change type datetime

This commit is contained in:
Valentin CZERYBA 2025-01-03 14:47:31 +01:00
parent 531656c169
commit 587763d808

View File

@ -11,7 +11,7 @@ class User(BaseModel):
roles: str = "User"
status: int = 0
email: EmailStr
birth: str | None = None
birth: datetime | None = None
created_at: datetime = datetime.today()
connected_at: datetime | None = None
updated_at: datetime | None = None