Skip to content

Commit 3c228ca

Browse files
authored
FIX: error when no description is provided
1 parent 3552b9f commit 3c228ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/private/wochenplan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function wochenplan(
117117
)})__`
118118
}
119119

120-
if (weekdayEvent.description.indexOf('https://kit-lecture.zoom.us') !== -1) {
120+
if (weekdayEvent.description?.indexOf('https://kit-lecture.zoom.us') !== -1) {
121121
/**
122122
* Add zoom hyperlink if available
123123
*/

0 commit comments

Comments
 (0)