Files
waitlist/app/schemas.py
Roberto Musso 5f79ce87f9
All checks were successful
Test & Deploy Waitlist / test (push) Successful in 35s
Test & Deploy Waitlist / deploy (push) Successful in 16s
fix: update confirm base URL to adiuvai.com and success messages for double opt-in
2026-04-11 19:13:59 +02:00

13 lines
348 B
Python

from pydantic import BaseModel, EmailStr, Field
class WaitlistRequest(BaseModel):
email: EmailStr
# Honeypot field — must be empty. Bots tend to fill hidden fields.
website: str = Field(default="", max_length=0)
class WaitlistResponse(BaseModel):
ok: bool = True
message: str = "Check your inbox for a confirmation link!"