Describe the bug
After adding support for multi attendee ticket downloads, the storage path was changed. Due to this, the tickets weren't being attached. Ergo, the email wasn't being sent.
Reference
The key was changed in this PR. #6095
To Reproduce
Steps to reproduce the behavior:
- Place any order
- Email is not sent
Expected behavior
Emails & attachments should work as expected.
Stacktrace
/open-event-server/app/api/helpers/tasks.py", line 64, in send_email_task_sendgrid
with open(attachment, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'generated/tickets/attendees/tickets/pdf/4c0b138f-fd0c-489b-a30b-57c971014861/dDlYVnIrN1/4c0b138f-fd0c-489b-a30b-57c971014861.pdf'