freeCodeCamp / chapter

A self-hosted event management tool for nonprofits
BSD 3-Clause "New" or "Revised" License
1.92k stars 357 forks source link

Added Venue Data to confirmation emails #2514

Closed ttran913 closed 1 year ago

ttran913 commented 1 year ago

Closes #2229

Venue data will now be visible in attendee's confirmation emails. Added venue data(physicalLocation, streamingData, start_at, ends_at) to email-templates.ts. Modified confirmation related functions in event-email.ts to use the mentioned variables. Modified eventConfirmAttendeeEmail in resolver.ts to grab venue data. Modfied eventConfirmAttendeeEmail function to properly take in newly created parameters(streaming_url, venue_physical, venue_type, start_at, ends_at). The test fails without these parameters.

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/freeCodeCamp/chapter/2514/69384155/47fdb90eb56e582bae82e12f3497d4f27fc31b99.svg)](https://app.codesee.io/r/reviews?pr=2514&src=https%3A%2F%2Fgithub.com%2FfreeCodeCamp%2Fchapter) #### Legend CodeSee Map legend