Use hina_invitation template in test endpoint (exists in built-in templates)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a1139e0f23
commit
eba57bd81a
@ -2001,13 +2001,14 @@ async def test_whatsapp_send(
|
||||
|
||||
service = get_whatsapp_service(db)
|
||||
|
||||
# Send with only contact_name - minimal test
|
||||
# Send with minimal parameters - just for testing
|
||||
params = {
|
||||
"contact_name": "Test"
|
||||
"contact_name": "Test",
|
||||
"event_id": "test-event-123"
|
||||
}
|
||||
|
||||
# Use wedding_invitation_by_vered template (only requires contact_name)
|
||||
template_key = "wedding_invitation_by_vered"
|
||||
# Use hina_invitation template (only requires contact_name and event_id)
|
||||
template_key = "hina_invitation"
|
||||
|
||||
result = await service.send_by_template_key(
|
||||
template_key=template_key,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user