Skip to content

Commit

Permalink
comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barisgul15 committed Nov 17, 2023
1 parent 2bd034d commit a1a925f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/template/admin/admin_tabs/course-import.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
<tbody>
<script>
/*
The data coming from TUMonline sometimes duplicates contacts of a course.
The elements of course.contacts has 5 attributes:
first_name, last_name, email, main_contact, and role.
The data coming from TUMonline sometimes duplicates contacts of some courses.
course.contacts has 5 attributes:
first_name, last_name, email, main_contact, role.
All cases considered, the most distinctive among them is e-mail.
and that's why eliminating the duplicates are down accordingly.
and that's why duplicates are eliminated accordingly.
*/
function filterUniqueContacts(contacts) {
const uniqueEmails = new Set();
Expand Down

0 comments on commit a1a925f

Please sign in to comment.