diff --git a/server/util/utils.js b/server/util/utils.js index ae64488..7b1fb97 100644 --- a/server/util/utils.js +++ b/server/util/utils.js @@ -17,6 +17,7 @@ const includesTemplate = v => v && (v.includes(dateStartTemplate) || v.includes( /** * Check if event is a teacher * @param {string} description + * @param {string} id * @returns {boolean} */ const checkHighlightTeacher = ({ description, id }) => { @@ -32,6 +33,7 @@ const checkHighlightTeacher = ({ description, id }) => { * @param {string} value * @param {string} location * @param {string} description + * @param {string} id * @param {{customColor: {amphi?: string, tp?: string, td?: string, other?: string}, highlightTeacher?: boolean}} options * @returns {string} */ @@ -140,6 +142,7 @@ module.exports = { * @param {object} colors * @param {object|null} localeUtils * @param {boolean} highlightTeacher + * @param {string} id * @returns {[]} */ getFormattedEvents: ({ data: j, blocklist, colors, localeUtils, highlightTeacher, id }) => {