diff --git a/video-gen-api/app/schemas/admin.py b/video-gen-api/app/schemas/admin.py index 0748c5ef..919828c7 100644 --- a/video-gen-api/app/schemas/admin.py +++ b/video-gen-api/app/schemas/admin.py @@ -4,7 +4,7 @@ from app.schemas.common import NaiveDatetime, NaiveDatetimeOptional class CreditAdjustRequest(BaseModel): - amount: int + amount: float = Field(..., ge=-9999999.99, le=9999999.99, multiple_of=0.01) description: str = Field(..., max_length=256)