Fix some issues 6
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user