Skip to content

Handle more than one trip summary in SNCF connect emails

parseOuiSummary() was only looking at the first entry when finding elements. This was kind of assuming only one summary can be present. This might not be the case if several trips were booked at once.

Changed parseOuiSummary() to properly iterate through the summary elements it finds.

Merge request reports

Loading