fix contact

This commit is contained in:
Mylloon 2024-01-30 15:46:05 +01:00
parent dfcf1226d0
commit 71a47096b1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -40,7 +40,9 @@ pub fn export(courses: Vec<crate::timetable::models::Course>, filename: &mut Str
// Professor's name
if course.professor.is_some() {
event.push(Attendee::new(course.professor.unwrap()));
event.push(Attendee::new(
"mailto:".to_owned() + &course.professor.unwrap(),
));
}
// Start time of the course