Fix some issues 6

This commit is contained in:
2026-01-26 07:13:33 +01:00
parent 9420f28866
commit 4cd9a3ba3f
2 changed files with 2 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ data:
# ================================================================ # ================================================================
# EMAIL CONFIGURATION # EMAIL CONFIGURATION
# ================================================================ # ================================================================
SMTP_HOST: "mailu-postfix.bakery-ia.svc.cluster.local" SMTP_HOST: "mailu-front.bakery-ia.svc.cluster.local"
SMTP_PORT: "587" SMTP_PORT: "587"
SMTP_TLS: "true" SMTP_TLS: "true"
SMTP_SSL: "false" SMTP_SSL: "false"

View File

@@ -25,7 +25,7 @@ router = APIRouter(prefix="/api/v1/public", tags=["public-contact"])
# ================================================================ # ================================================================
class ContactFormRequest(BaseModel): class ContactFormRequest(BaseModel):
"""Contact form submission request""" """Contact form submission request ttt"""
name: str = Field(..., min_length=2, max_length=100) name: str = Field(..., min_length=2, max_length=100)
email: EmailStr email: EmailStr
phone: Optional[str] = Field(None, max_length=20) phone: Optional[str] = Field(None, max_length=20)