Skip to content

Commit 7f3588c

Browse files
committed
Fix naming references from rajdhani
1 parent 47fb4f5 commit 7f3588c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,15 @@ description: |
307307
Send an email to the passenger confirming the reservation.
308308
You can use the SMTP credentials from `config.py` to do that.
309309
310+
The booking argument is a dict with keys: `id`, `passenger_name`,
311+
`passenger_email`, `train_number`, `train_name`, `ticket_class`, and `date`.
312+
310313
Note: For testing locally, you can install the
311314
[aiosmtpd](https://aiosmtpd.readthedocs.io/en/latest/) package with pip
312315
and start an SMTP server on port 8025 with `python3 -m aiosmtpd -n`.
313316
314317
File: `rajdhani/notifications.py` <br>
315-
Function: `send_email_confirmation`
318+
Function: `send_booking_confirmation`
316319
checks:
317320
- check_ticket_confirmation_email:
318321
train: "12028"

0 commit comments

Comments
 (0)