fix: exclude recaptcha_token from Contact model in CRUD
- Updated create_contact to use model_dump(exclude={'recaptcha_token'})
- Updated tests to include recaptcha_token in ContactCreate
- All 17 tests passing
1 parent 2c6e922 commit 58a4463ba76742c69756c71dbcc2fa80fed5ba16
@Eric Chicoine Eric Chicoine authored 20 days ago
Showing 3 changed files
View
app/crud.py
View
tests/test_crud.py
View
tests/test_schemas.py